This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r128284 - in /trunk/gcc: ChangeLog cfgrtl.c cse...
- From: hp at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 09 Sep 2007 02:23:48 -0000
- Subject: r128284 - in /trunk/gcc: ChangeLog cfgrtl.c cse...
Author: hp
Date: Sun Sep 9 02:23:47 2007
New Revision: 128284
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128284
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgrtl.c
trunk/gcc/cse.c
trunk/gcc/emit-rtl.c
trunk/gcc/function.c
trunk/gcc/lower-subreg.c
trunk/gcc/postreload.c
trunk/gcc/regrename.c
trunk/gcc/reload1.c