diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-20 16:06:51 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-20 16:06:51 +0000 |
commit | bff4202c718b3d92e33079c77431e536e30d1ffe (patch) | |
tree | b70810f9d05350b4f20a9fb3104039f83b6b3bb3 /gcc/tree-optimize.c | |
parent | 8188ae06de203ace69d3dafa612b7712a8dd1c94 (diff) | |
download | gcc-bff4202c718b3d92e33079c77431e536e30d1ffe.tar.gz |
* cgraph.c (cgraph_add_new_function): Do early local passes.
* tree-nrv.c (gate_pass_return_slot): New gate.
(pass_nrv): Add the gate.
* tree-ssa-coalese.c (hash_ssa_name_by_var, eq_ssa_name_by_var): New
functions.
(coalesce_ssa_name): Coalesce SSA names.
* tree-ssa-live.c (remove_unused_locals): Be more conservative when
not optimizing so unused user vars remains visible.
* common.opt (flag_tree_ter): Always enable by default.
* tree-ssa-ter.c: Include flags.h
(is_replaceable_p): Check that locations match; when aliasing is missing
be conservative about loads.
* tree-optimize.c (gate_init_datastructures): Remove.
(pass_init_datastructures): New.
* passes.c: Reorder passes so we always go into SSA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138010 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-optimize.c')
-rw-r--r-- | gcc/tree-optimize.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/tree-optimize.c b/gcc/tree-optimize.c index 35feaa1be5b..8a0fe0c8ce3 100644 --- a/gcc/tree-optimize.c +++ b/gcc/tree-optimize.c @@ -341,20 +341,12 @@ execute_init_datastructures (void) return 0; } -/* Gate: initialize or not the SSA datastructures. */ - -static bool -gate_init_datastructures (void) -{ - return (optimize >= 1); -} - struct gimple_opt_pass pass_init_datastructures = { { GIMPLE_PASS, NULL, /* name */ - gate_init_datastructures, /* gate */ + NULL, /* gate */ execute_init_datastructures, /* execute */ NULL, /* sub */ NULL, /* next */ |