aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-optimize.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/tree-optimize.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/tree-optimize.c')
-rw-r--r--gcc/tree-optimize.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c
index 9487741..9b4973f 100644
--- a/gcc/tree-optimize.c
+++ b/gcc/tree-optimize.c
@@ -158,7 +158,6 @@ struct gimple_opt_pass pass_all_early_optimizations =
static unsigned int
execute_cleanup_cfg_post_optimizing (void)
{
- fold_cond_expr_cond ();
cleanup_tree_cfg ();
cleanup_dead_labels ();
group_case_labels ();