diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cff547cbe31..2139164ab49 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-02-16 Diego Novillo + + PR tree-optimization/19865 + * tree-optimize.c (init_tree_optimization_passes): Run + pass_may_alias after pass_sra. + 2005-02-16 Richard Henderson Stuart Hastings diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 8006a2cdac6..a2b76971812 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -364,6 +364,10 @@ init_tree_optimization_passes (void) NEXT_PASS (pass_ch); NEXT_PASS (pass_profile); NEXT_PASS (pass_sra); + /* FIXME: SRA may generate arbitrary gimple code, exposing new + aliased and call-clobbered variables. As mentioned below, + pass_may_alias should be a TODO item. */ + NEXT_PASS (pass_may_alias); NEXT_PASS (pass_rename_ssa_copies); NEXT_PASS (pass_dominator); NEXT_PASS (pass_redundant_phi);