diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-07-28 05:13:10 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-07-28 01:13:10 -0400 |
commit | c1b763fa9a9a0dba0ccce1493c655179fdaa7d22 (patch) | |
tree | a9aa14b2fab671abc299a440ee7b02eaae3b2aeb /gcc/tree-pass.h | |
parent | 58907cda076946ae56d334ab39637a474f621b95 (diff) | |
download | gcc-c1b763fa9a9a0dba0ccce1493c655179fdaa7d22.tar.gz |
tree-optimize.c (init_tree_optimization_passes): Schedule pass_may_alias right after the program is renamed into SSA.
* tree-optimize.c (init_tree_optimization_passes): Schedule
pass_may_alias right after the program is renamed into SSA.
* tree-pass.h (PROP_alias): Define.
* tree-outof-ssa.c (pass_del_ssa): Require PROP_alias.
* tree-sra.c (pass_sra): Likewise.
* tree-ssa-ccp.c (pass_ccp): Likewise.
* tree-ssa-copyrename.c (pass_rename_ssa_ccp): Likewise.
* tree-ssa-dce.c (pass_dce): Likewise.
* tree-ssa-dom.c (pass_dominator): Likewise.
* tree-ssa-dse.c (pass_dse): Likewise.
* tree-ssa-forwprop.c (pass_forwprop): Likewise.
* tree-ssa-loop-ch.c (pass_ch): Likewise.
* tree-ssa-phiopt.c (pass_phiopt): Likewise.
* tree-ssa-pre.c (pass_pre): Likewise.
* tree-tailcall.c (pass_tail_recursion): Likewise.
* tree-ssa.c (pass_redundant_phi): Likewise.
* tree-ssa-alias.c (aliases_computed_p): Remove.
Update all users.
(init_alias_info): Do not mark all type tags for renaming
unconditionally.
Clear may_aliases from every symbol.
(setup_pointers_and_addressables): If a pointer has not been
dereferenced and it had a type tag, clear it and mark the old
tag for renaming.
testsuite/ChangeLog
* gcc.dg/tree-ssa/20030714-2.c: Adjust number of expected
conditionals.
* gcc.dg/tree-ssa/20031022-1.c: Adjust number of expected
loads.
* gcc.dg/tree-ssa/ssa-dom-cse-1.c: Expect optimization in
DOM1.
From-SVN: r85255
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r-- | gcc/tree-pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h index 9651c9e659b..2bf63ee77b6 100644 --- a/gcc/tree-pass.h +++ b/gcc/tree-pass.h @@ -76,6 +76,7 @@ struct tree_opt_pass #define PROP_ssa (1 << 6) #define PROP_no_crit_edges (1 << 7) #define PROP_rtl (1 << 8) +#define PROP_alias (1 << 9) #define PROP_trees \ (PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh) |