diff options
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index f124c9a436f..0c6c56a5918 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -1292,7 +1292,7 @@ tree_merge_blocks (basic_block a, basic_block b) /* In case we maintain loop closed ssa form, do not propagate arguments of loop exit phi nodes. */ if (current_loops - && (current_loops->state & LOOP_CLOSED_SSA) + && loops_state_satisfies_p (LOOP_CLOSED_SSA) && is_gimple_reg (def) && TREE_CODE (use) == SSA_NAME && a->loop_father != b->loop_father) |