OSDN Git Service

PR tree-optimization/42906
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 6 Apr 2010 15:18:18 +0000 (15:18 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:16:47 +0000 (14:16 +0900)
* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add IGNORE_SELF
argument; set visited_control_parents for fully processed BBs.
(find_obviously_necessary_stmts): Update call of
mark_control_dependent_edges_necessary.
(propagate_necessity): Likewise; handle PHI edges more curefully.

* gcc.dg/tree-ssa/dce-1.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158004 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 86760f4..52f8ab3 100644 (file)
@@ -1,3 +1,13 @@
+2010-04-06  Jan Hubicka  <jh@suse.czpli
+
+       PR tree-optimization/42906
+
+       * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add IGNORE_SELF
+       argument; set visited_control_parents for fully processed BBs.
+       (find_obviously_necessary_stmts): Update call of
+       mark_control_dependent_edges_necessary.
+       (propagate_necessity): Likewise; handle PHI edges more curefully.
+
 2010-04-06  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md: Remove comment about 'e' and 'E'
index 7330c96..f3de76e 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-06  Jan Hubicka  <jh@suse.czpli
+
+       PR tree-optimization/42906
+       * gcc.dg/tree-ssa/dce-1.c: New testcase.
+
 2010-04-06  Tobias Burnus  <burnus@net-b.de>
 
        PR fortran/43178