aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-03-25 19:17:26 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-03-25 19:17:26 +0000
commitfe1f8f442ef9952650c38ae0383498d41965775c (patch)
tree224a37b6b651b721ab029a9a7063751f561e976e /gcc/passes.c
parent1d8b38a080f6862c5e0e1f407851e9b73c622e33 (diff)
downloadgcc-fe1f8f442ef9952650c38ae0383498d41965775c.zip
gcc-fe1f8f442ef9952650c38ae0383498d41965775c.tar.gz
gcc-fe1f8f442ef9952650c38ae0383498d41965775c.tar.bz2
re PR tree-optimization/26804 (Alias Time explosion)
2006-03-25 Daniel Berlin <dberlin@dberlin.org> PR tree-optimization/26804 * tree.h (DECL_CALL_CLOBBERED): New macro. (tree_decl_common): Add call_clobbered_flag. * tree-flow-inline.h (is_call_clobbered): Use DECL_CALL_CLOBBERED. (mark_call_clobbered): Set DECL_CALL_CLOBBERED. (clear_call_clobbered): Clear DECL_CALL_CLOBBERED. (mark_non_addressable): Ditto. * tree-ssa.c (verify_call_clobbered): New function. (verify_alias_info): Use it. * tree-pass.h (pass_reset_cc_flags): New prototype. * tree-ssa-alias.c (pass_reset_cc_flags): New structure. (reset_cc_flags): New function. * passes.c (init_optimization_passes): Call reset_cc_flags after initializing referenced_vars. From-SVN: r112380
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 ab37f20..0ca4cf5 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -487,6 +487,7 @@ init_optimization_passes (void)
p = &pass_all_optimizations.sub;
NEXT_PASS (pass_referenced_vars);
+ NEXT_PASS (pass_reset_cc_flags);
NEXT_PASS (pass_create_structure_vars);
NEXT_PASS (pass_build_ssa);
NEXT_PASS (pass_may_alias);