aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-09-22 14:44:13 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-09-22 14:44:13 +0000
commit5d7b099c0a22ecc85218a99ef0df58b9240fdd4e (patch)
tree81fd9fa9af57c0df9a156c97930d408557c285c8 /gcc/passes.c
parent27d5e204ca7d3fa62230529cad888df0d866a10f (diff)
downloadgcc-5d7b099c0a22ecc85218a99ef0df58b9240fdd4e.zip
gcc-5d7b099c0a22ecc85218a99ef0df58b9240fdd4e.tar.gz
gcc-5d7b099c0a22ecc85218a99ef0df58b9240fdd4e.tar.bz2
tree-inline.c (optimize_inline_calls): Schedule cleanups only if we inlined something.
2010-09-22 Richard Guenther <rguenther@suse.de> * tree-inline.c (optimize_inline_calls): Schedule cleanups only if we inlined something. Block compaction and conditional folding are done by cfg cleanup. Schedule update-address-taken. (tree_function_versioning): Remove redundant call to number_blocks. * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Conditional folding is done by cfg cleanup. * passes.c (init_optimization_passes): Remove update-address-taken pass after IPA inlining. From-SVN: r164525
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index c14ed28..c61a1d2 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -836,7 +836,6 @@ init_optimization_passes (void)
/* Initial scalar cleanups before alias computation.
They ensure memory accesses are not indirect wherever possible. */
NEXT_PASS (pass_strip_predict_hints);
- NEXT_PASS (pass_update_address_taken);
NEXT_PASS (pass_rename_ssa_copies);
NEXT_PASS (pass_complete_unrolli);
NEXT_PASS (pass_ccp);