tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard the removal of a debug stmt as a significant change.

* tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard
	the removal of a debug stmt as a significant change.

From-SVN: r153007
This commit is contained in:
Alexandre Oliva 2009-10-20 08:37:26 +00:00 committed by Jakub Jelinek
parent 421b1e6b16
commit 717f4048cd
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-10-20 Alexandre Oliva <aoliva@redhat.com>
* tree-ssa-dce.c (eliminate_unnecessary_stmts): Don't regard
the removal of a debug stmt as a significant change.
2009-10-20 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/s390.md: Added agen condition to operand

View File

@ -1129,8 +1129,9 @@ eliminate_unnecessary_stmts (void)
/* If GSI is not necessary then remove it. */
if (!gimple_plf (stmt, STMT_NECESSARY))
{
if (!is_gimple_debug (stmt))
something_changed = true;
remove_dead_stmt (&gsi, bb);
something_changed = true;
}
else if (is_gimple_call (stmt))
{