aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2008-07-20 18:06:51 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2008-07-20 16:06:51 +0000
commitc72321c9a7c869ae5cb7f5bbec1ea4e8c8d3c50a (patch)
treeb70810f9d05350b4f20a9fb3104039f83b6b3bb3 /gcc/cgraph.c
parentd6cc6ec9d11523de305be40a6e0e36ea9996de57 (diff)
downloadgcc-c72321c9a7c869ae5cb7f5bbec1ea4e8c8d3c50a.zip
gcc-c72321c9a7c869ae5cb7f5bbec1ea4e8c8d3c50a.tar.gz
gcc-c72321c9a7c869ae5cb7f5bbec1ea4e8c8d3c50a.tar.bz2
cgraph.c (cgraph_add_new_function): Do early local passes.
* 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. From-SVN: r138010
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r--gcc/cgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c
index 881bc42..3b3be13 100644
--- a/gcc/cgraph.c
+++ b/gcc/cgraph.c
@@ -1366,7 +1366,7 @@ cgraph_add_new_function (tree fndecl, bool lowered)
if (!lowered)
tree_lowering_passes (fndecl);
bitmap_obstack_initialize (NULL);
- if (!gimple_in_ssa_p (DECL_STRUCT_FUNCTION (fndecl)) && optimize)
+ if (!gimple_in_ssa_p (DECL_STRUCT_FUNCTION (fndecl)))
execute_pass_list (pass_early_local_passes.pass.sub);
bitmap_obstack_release (NULL);
tree_rest_of_compilation (fndecl);