diff options
author | Laurynas Biveinis <laurynas.biveinis@gmail.com> | 2007-09-09 02:23:47 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2007-09-09 02:23:47 +0000 |
commit | ba4807a0d37c0fae2caa5c18839a97e5004b2ffe (patch) | |
tree | 05259961c43e188d2fdeb4b4bfd249aae3d5da63 /gcc/cse.c | |
parent | 7cff41e8917d88a6a56b151edc71cb5be689e423 (diff) | |
download | gcc-ba4807a0d37c0fae2caa5c18839a97e5004b2ffe.zip gcc-ba4807a0d37c0fae2caa5c18839a97e5004b2ffe.tar.gz gcc-ba4807a0d37c0fae2caa5c18839a97e5004b2ffe.tar.bz2 |
revert: regrename.c (copyprop_hardreg_forward_1): New variable next.
Revert:
2007-09-05 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* regrename.c (copyprop_hardreg_forward_1): New variable next. Use
FOR_BB_INSNS_SAFE instead of for loop.
* cse.c (cse_extended_basic_block): Likewise.
* postreload.c (reload_cse_regs_1): New variable next. Make sure
that the for loop does not invoke NEXT_INSN on a deleted insn.
* function.c (instantiate_virtual_regs): Likewise.
* lower-subreg.c (remove_retval_note): Likewise.
(decompose_multiword_subregs): Use FOR_BB_INSNS_SAFE instead of
FOR_BB_INSNS.
* emit-rtl.c (remove_insn): Set NEXT_INSN and PREV_INSN to NULL on
a deleted insn.
* cfgrtl.c (delete_insn): Set JUMP_LABEL to NULL on a deleted
insn, if it's a jump.
(try_redirect_by_replacing_jump): New variable jump_p. Call
tablejump_p before delete_insn_chain.
* reload1.c (reload): New variable next. Make sure that the for
loop does not invoke NEXT_INSN on a deleted insn.
(fixup_eh_region_note): Make the loop terminate if i becomes NULL.
(delete_output_reload): New variable prev. Make sure the the for
loops do not invoke PREV_INSN on a deleted insn.
From-SVN: r128284
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6018,12 +6018,12 @@ cse_extended_basic_block (struct cse_basic_block_data *ebb_data) for (path_entry = 0; path_entry < path_size; path_entry++) { basic_block bb; - rtx insn, next; + rtx insn; rtx libcall_insn = NULL_RTX; int no_conflict = 0; bb = ebb_data->path[path_entry].bb; - FOR_BB_INSNS_SAFE (bb, insn, next) + FOR_BB_INSNS (bb, insn) { /* If we have processed 1,000 insns, flush the hash table to avoid extreme quadratic behavior. We must not include NOTEs |