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 00:45:32 +0000 (09:45 +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 77af22c..a05b595 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 e6fc3c0..22f8934 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