dce.c (reset_unmarked_insns_debug_uses): New.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 6 Jun 2011 13:25:06 +0000 (13:25 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 6 Jun 2011 13:25:06 +0000 (13:25 +0000)
commita7a110bb82c953b94043a98f1123cb6aaeff2bac
treea367b4f3bc02429f1f4641ec15be75b735d877e1
parent6d8402ac13cd591026591be13329c4eda24ce639
dce.c (reset_unmarked_insns_debug_uses): New.

* dce.c (reset_unmarked_insns_debug_uses): New.
(delete_unmarked_insns): Skip debug insns.
(prescan_insns_for_dce): Likewise.
(rest_of_handle_ud_dce): Reset debug uses of removed sets.
* reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no
active reg can be found.
(subst_all_stack_regs_in_debug_insn): New.  Reset debug insn then.
(convert_regs_1): Use it.

From-SVN: r174699
gcc/ChangeLog
gcc/dce.c
gcc/reg-stack.c