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

From-SVN: r174700
This commit is contained in:
Alexandre Oliva 2011-06-06 13:40:09 +00:00 committed by Alexandre Oliva
parent a7a110bb82
commit 3598cabdae
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -1223,7 +1223,8 @@ local_cprop_pass (void)
{
if (do_local_cprop (reg_use_table[i], insn))
{
changed = true;
if (!DEBUG_INSN_P (insn))
changed = true;
break;
}
}