diff options
| author | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-16 19:19:34 +0000 |
|---|---|---|
| committer | dnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-16 19:19:34 +0000 |
| commit | f1714e30e2f9f4adaea58b4f3dd2c729d29358f2 (patch) | |
| tree | d9f843f849da2e8d9c96f5c5fc51465655978bc0 | |
| parent | 475c9f56e36a43612ccb0bf3501ddd118fa91057 (diff) | |
| download | ppe42-gcc-f1714e30e2f9f4adaea58b4f3dd2c729d29358f2.tar.gz ppe42-gcc-f1714e30e2f9f4adaea58b4f3dd2c729d29358f2.zip | |
PR tree-optimization/19865
* tree-optimize.c (init_tree_optimization_passes): Run
pass_may_alias after pass_sra.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95113 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/tree-optimize.c | 4 |
2 files changed, 10 insertions, 0 deletions
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 <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> 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); |

