OSDN Git Service

* tree-optimize.c (init_tree_optimization_passes): Move
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 May 2005 20:22:58 +0000 (20:22 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 May 2005 20:22:58 +0000 (20:22 +0000)
pass_cd_dce in place of the last pass_dce.

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

gcc/ChangeLog
gcc/tree-optimize.c

index 84e1796..2338389 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-optimize.c (init_tree_optimization_passes): Move
+       pass_cd_dce in place of the last pass_dce.
+
 2005-05-14  Nathan Sidwell  <nathan@codesourcery.com>
            Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
index ba35c37..66c25de 100644 (file)
@@ -389,7 +389,7 @@ init_tree_optimization_passes (void)
   NEXT_PASS (pass_loop);
   NEXT_PASS (pass_dominator);
   NEXT_PASS (pass_copy_prop);
-  NEXT_PASS (pass_dce);
+  NEXT_PASS (pass_cd_dce);
   /* FIXME: If DCE is not run before checking for uninitialized uses,
      we may get false warnings (e.g., testsuite/gcc.dg/uninit-5.c).
      However, this also causes us to misdiagnose cases that should be
@@ -400,7 +400,6 @@ init_tree_optimization_passes (void)
      variable.  Using a representation like Gated Single Assignment
      may help.  */
   NEXT_PASS (pass_late_warn_uninitialized);
-  NEXT_PASS (pass_cd_dce);
   NEXT_PASS (pass_dse);
   NEXT_PASS (pass_forwprop);
   NEXT_PASS (pass_phiopt);