diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2005-07-17 17:13:53 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-07-17 17:13:53 +0000 |
commit | 45159bf654434ba623770747cddb4477bc0754d2 (patch) | |
tree | 5f5652ad0eca15cdf5a7021b1e6354abcb5181c7 /gcc/passes.c | |
parent | 8caebfaaa6d4fe540490ab7e418c17eadd98529e (diff) | |
download | gcc-45159bf654434ba623770747cddb4477bc0754d2.zip gcc-45159bf654434ba623770747cddb4477bc0754d2.tar.gz gcc-45159bf654434ba623770747cddb4477bc0754d2.tar.bz2 |
tree-optimize.c (init_tree_optimization_passes): Add pass_eliminate_useless_stores pass.
2005-07-12 Daniel Berlin <dberlin@dberlin.org>
* tree-optimize.c (init_tree_optimization_passes): Add
pass_eliminate_useless_stores pass.
* tree-pass.h (pass_eliminate_useless_stores): New pass structure.
* tree-ssa-pre.c (is_copy_stmt): New function.
(follow_copies_till_vuse): Ditto.
(do_eustores): Ditto.
(gate_eustores): Ditto.
From-SVN: r102112
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 4161723..edc75f1 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -479,6 +479,7 @@ init_optimization_passes (void) NEXT_PASS (pass_return_slot); NEXT_PASS (pass_rename_ssa_copies); NEXT_PASS (pass_early_warn_uninitialized); + NEXT_PASS (pass_eliminate_useless_stores); /* Initial scalar cleanups. */ NEXT_PASS (pass_ccp); |