]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass.
authorRichard Guenther <rguenther@suse.de>
Tue, 19 Aug 2008 15:01:03 +0000 (15:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Aug 2008 15:01:03 +0000 (15:01 +0000)
2008-08-19  Richard Guenther  <rguenther@suse.de>

* passes.c (init_optimization_passes): Exchange store-ccp
with a ccp pass.

* gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL.

From-SVN: r139234

gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-14.c

index a325889eeabbe1d6cef4b22b5439a9a6ff75a506..529c246ce408c925fe9f71bf33d59ac2cb478261 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-19  Richard Guenther  <rguenther@suse.de>
+
+       * passes.c (init_optimization_passes): Exchange store-ccp
+       with a ccp pass.
+
 2008-08-19  Rafael Espindola  <espindola@google.com>
 
       * varasm.c (weak_decls): Move earlier in the file.
index a9af10d1c927ec503ebccf255b93c323d1fef794..8730ea31d9453c9a9dcc4d3e4b71ce864d8a66f6 100644 (file)
@@ -640,7 +640,7 @@ init_optimization_passes (void)
       NEXT_PASS (pass_forwprop);
       NEXT_PASS (pass_phiopt);
       NEXT_PASS (pass_object_sizes);
-      NEXT_PASS (pass_store_ccp);
+      NEXT_PASS (pass_ccp);
       NEXT_PASS (pass_copy_prop);
       NEXT_PASS (pass_fold_builtins);
       NEXT_PASS (pass_cse_sincos);
index ac05d1fe99551a75636af4c82ca4aa06b86e29fa..a9df31b888140cdc924ee805fdfbdf4566b1cecb 100644 (file)
@@ -1,3 +1,7 @@
+2008-08-19  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL.
+
 2008-08-19  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/37157
index 6e0a8f14478643b6b27a69c960728d21314ce239..3be025f079fb60f07af3da92f77ec419dcec38fa 100644 (file)
@@ -17,5 +17,5 @@ void bar (void)
 }
 
 /* Everything except for the "i = 0" assignment should get removed.  */
-/* { dg-final { scan-tree-dump-times "if" 0 "optimized"} } */
+/* { dg-final { scan-tree-dump-times "if" 0 "optimized" { xfail *-*-* } } } */
 /* { dg-final { cleanup-tree-dump "optimized" } } */