diff options
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index ca2cedd3c28..1cf81d0f753 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -3008,7 +3008,7 @@ merge_blocks_nomove (a, b) #ifdef HAVE_cc0 /* If this was a conditional jump, we need to also delete the insn that set cc0. */ - if (prev && sets_cc0_p (prev)) + if (only_sets_cc0_p (prev)) { rtx tmp = prev; prev = prev_nonnote_insn (prev); @@ -4213,7 +4213,7 @@ tidy_fallthru_edge (e, b, c) #ifdef HAVE_cc0 /* If this was a conditional jump, we need to also delete the insn that set cc0. */ - if (any_condjump_p (q) && sets_cc0_p (PREV_INSN (q))) + if (any_condjump_p (q) && only_sets_cc0_p (PREV_INSN (q))) q = PREV_INSN (q); #endif |