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:
parent
421b1e6b16
commit
717f4048cd
@ -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
|
||||
|
@ -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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user