aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-05-25 13:35:10 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-05-25 13:35:10 +0000
commit6b8ed1452b9f79918ba9324edda6642ed7d08114 (patch)
treea5df148001356e742a58dc38bfe38aa26e706766 /gcc/passes.c
parent0d38b677037f13b7b83d1024a5156be9b41e17b9 (diff)
downloadgcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.zip
gcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.tar.gz
gcc-6b8ed1452b9f79918ba9324edda6642ed7d08114.tar.bz2
tree-ssa-alias.h (dump_points_to_solution): Declare.
2009-05-25 Richard Guenther <rguenther@suse.de> * tree-ssa-alias.h (dump_points_to_solution): Declare. * tree-inline.c (expand_call_inline): Reset the escaped and callused solutions. * tree-ssa-structalias.c (pass_build_ealias): New. * tree-pass.h (pass_build_ealias): Declare. * passes.c (init_optimization_passes): Add PTA during early optimizations. * tree-ssa-alias.c (dump_alias_info): Dump the ESCAPED and CALLUSED solutions. (dump_points_to_solution): New function, split out from ... (dump_points_to_info_for): ... here. * tree-parloops.c (parallelize_loops): Reset the escaped and callused solutions. * gcc.dg/tree-ssa/ssa-fre-14.c: Adjust. * gcc.dg/tree-ssa/ssa-fre-15.c: Likewise. From-SVN: r147848
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 28838b5..2408668 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -554,7 +554,11 @@ init_optimization_passes (void)
NEXT_PASS (pass_rename_ssa_copies);
NEXT_PASS (pass_ccp);
NEXT_PASS (pass_forwprop);
- NEXT_PASS (pass_update_address_taken);
+ /* pass_build_ealias is a dummy pass that ensures that we
+ execute TODO_rebuild_alias at this point. Re-building
+ alias information also rewrites no longer addressed
+ locals into SSA form if possible. */
+ NEXT_PASS (pass_build_ealias);
NEXT_PASS (pass_sra_early);
NEXT_PASS (pass_copy_prop);
NEXT_PASS (pass_merge_phi);