diff options
author | Stan Cox <coxs@gnu.org> | 1996-12-09 21:37:37 +0000 |
---|---|---|
committer | Stan Cox <coxs@gnu.org> | 1996-12-09 21:37:37 +0000 |
commit | 19f5ce60f80423710b14e915da94b6f42ab25801 (patch) | |
tree | 870dc41da1325815dac28c76e9121882c4acf51b /gcc | |
parent | f58acb677967a07e7bafe5f886812cde60a1832c (diff) | |
download | gcc-19f5ce60f80423710b14e915da94b6f42ab25801.zip gcc-19f5ce60f80423710b14e915da94b6f42ab25801.tar.gz gcc-19f5ce60f80423710b14e915da94b6f42ab25801.tar.bz2 |
(jump_optimize): Don't move initialization if there is a label between it and the jump for if (foo) bar++ to bar += (foo !=0)
From-SVN: r13257
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/jump.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1494,6 +1494,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) into our sequence. */ if ((temp5 = prev_active_insn (insn)) != 0 + && no_labels_between_p (temp5, insn) && GET_CODE (temp5) == INSN && (temp6 = single_set (temp5)) != 0 && rtx_equal_p (temp2, SET_DEST (temp6)) |