diff options
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r-- | gcc/gimple.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h index 5180e8e5445..64ef68e57a1 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -3494,6 +3494,8 @@ gimple_phi_set_result (gimple gs, tree result) { GIMPLE_CHECK (gs, GIMPLE_PHI); gs->gimple_phi.result = result; + if (result && TREE_CODE (result) == SSA_NAME) + SSA_NAME_DEF_STMT (result) = gs; } |