Commit 3598cabd by Alexandre Oliva Committed by Alexandre Oliva

* cprop.c (local_cprop_pass): Don't set changed for debug insns.

From-SVN: r174700
parent a7a110bb
2011-06-06 Alexandre Oliva <aoliva@redhat.com> 2011-06-06 Alexandre Oliva <aoliva@redhat.com>
* cprop.c (local_cprop_pass): Don't set changed for debug insns.
2011-06-06 Alexandre Oliva <aoliva@redhat.com>
* dce.c (reset_unmarked_insns_debug_uses): New. * dce.c (reset_unmarked_insns_debug_uses): New.
(delete_unmarked_insns): Skip debug insns. (delete_unmarked_insns): Skip debug insns.
(prescan_insns_for_dce): Likewise. (prescan_insns_for_dce): Likewise.
......
...@@ -1223,7 +1223,8 @@ local_cprop_pass (void) ...@@ -1223,7 +1223,8 @@ local_cprop_pass (void)
{ {
if (do_local_cprop (reg_use_table[i], insn)) if (do_local_cprop (reg_use_table[i], insn))
{ {
changed = true; if (!DEBUG_INSN_P (insn))
changed = true;
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment