aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-03-25 11:59:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-03-25 11:59:19 +0000
commit605896f5527472717f9fe91ad90f9ce3778cc540 (patch)
tree1872a4a1b8b92d7e2f7eb6735d0c8d146bb1d86a /gcc/passes.c
parent7baa7c1308787e9b4b0c89bcaeeae33b7c81ad9f (diff)
downloadgcc-605896f5527472717f9fe91ad90f9ce3778cc540.zip
gcc-605896f5527472717f9fe91ad90f9ce3778cc540.tar.gz
gcc-605896f5527472717f9fe91ad90f9ce3778cc540.tar.bz2
passes.c (init_optimization_passes): Add FRE pass after early SRA.
2011-03-25 Richard Guenther <rguenther@suse.de> * passes.c (init_optimization_passes): Add FRE pass after early SRA. * g++.dg/tree-ssa/pr41186.C: Scan the appropriate FRE dump. * g++.dg/tree-ssa/pr8781.C: Likewise. * gcc.dg/ipa/ipa-pta-13.c: Likewise. * gcc.dg/ipa/ipa-pta-3.c: Likewise. * gcc.dg/ipa/ipa-pta-4.c: Likewise. * gcc.dg/tree-ssa/20041122-1.c: Likewise. * gcc.dg/tree-ssa/alias-18.c: Likewise. * gcc.dg/tree-ssa/foldstring-1.c: Likewise. * gcc.dg/tree-ssa/forwprop-10.c: Likewise. * gcc.dg/tree-ssa/forwprop-9.c: Likewise. * gcc.dg/tree-ssa/fre-vce-1.c: Likewise. * gcc.dg/tree-ssa/loadpre6.c: Likewise. * gcc.dg/tree-ssa/pr21574.c: Likewise. * gcc.dg/tree-ssa/ssa-dom-cse-1.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-1.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-11.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-12.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-13.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-14.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-16.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-17.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-18.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-19.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-2.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-21.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-22.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-23.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-24.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-25.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-26.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-27.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-3.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-4.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-5.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-6.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-7.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-8.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-9.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-10.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-26.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-7.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-8.c: Likewise. * gcc.dg/tree-ssa/ssa-pre-9.c: Likewise. * gcc.dg/tree-ssa/ssa-sccvn-1.c: Likewise. * gcc.dg/tree-ssa/ssa-sccvn-2.c: Likewise. * gcc.dg/tree-ssa/ssa-sccvn-3.c: Likewise. * gcc.dg/tree-ssa/ssa-sccvn-4.c: Likewise. * gcc.dg/tree-ssa/struct-aliasing-1.c: Likewise. * gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise. * c-c++-common/pr46562-2.c: Likewise. * gfortran.dg/pr42108.f90: Likewise. * gcc.dg/torture/pta-structcopy-1.c: Scan ealias dump, force foo to be inlined even at -O1. * gcc.dg/tree-ssa/ssa-dce-4.c: Disable FRE. * gcc.dg/ipa/ipa-pta-14.c: Likewise. * gcc.dg/tree-ssa/ssa-fre-1.c: Adjust. * gcc.dg/matrix/matrix.exp: Disable FRE. From-SVN: r171450
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 42a32398..852b655 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -762,6 +762,7 @@ init_optimization_passes (void)
locals into SSA form if possible. */
NEXT_PASS (pass_build_ealias);
NEXT_PASS (pass_sra_early);
+ NEXT_PASS (pass_fre);
NEXT_PASS (pass_copy_prop);
NEXT_PASS (pass_merge_phi);
NEXT_PASS (pass_cd_dce);