re PR middle-end/19865 (ice / gnat bug detected.)

PR tree-optimization/19865
	* tree-optimize.c (init_tree_optimization_passes): Run
	pass_may_alias after pass_sra.

From-SVN: r95113
This commit is contained in:
Diego Novillo 2005-02-16 19:19:34 +00:00 committed by Diego Novillo
parent 847d0c0888
commit 3bd09563e1
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-02-16 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/19865
* tree-optimize.c (init_tree_optimization_passes): Run
pass_may_alias after pass_sra.
2005-02-16 Richard Henderson <rth@redhat.com>
Stuart Hastings <stuart@apple.com>

View File

@ -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);