From: Richard Guenther Date: Tue, 19 Aug 2008 15:01:03 +0000 (+0000) Subject: passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass. X-Git-Tag: releases/gcc-4.4.0~3070 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b8a65f1bd55af96fa5e0335acc853e80581ad4;p=thirdparty%2Fgcc.git passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass. 2008-08-19 Richard Guenther * passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass. * gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL. From-SVN: r139234 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a325889eeabb..529c246ce408 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-08-19 Richard Guenther + + * passes.c (init_optimization_passes): Exchange store-ccp + with a ccp pass. + 2008-08-19 Rafael Espindola * varasm.c (weak_decls): Move earlier in the file. diff --git a/gcc/passes.c b/gcc/passes.c index a9af10d1c927..8730ea31d945 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -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); diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ac05d1fe9955..a9df31b88814 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-08-19 Richard Guenther + + * gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL. + 2008-08-19 H.J. Lu PR target/37157 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-14.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-14.c index 6e0a8f144786..3be025f079fb 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-14.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-14.c @@ -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" } } */