diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-21 12:07:19 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-21 12:07:19 +0000 |
commit | 4b0e04206fd15050520de84baa9f2741651084d0 (patch) | |
tree | db9fd840e61745affdfba3bd39993c51aa27a658 /gcc/ipa-inline-transform.c | |
parent | f0c50415089211550ff6670ba52e9473f8bcc81d (diff) | |
download | gcc-4b0e04206fd15050520de84baa9f2741651084d0.tar.gz |
2011-06-21 Richard Guenther <rguenther@suse.de>
* ipa-inline-transform.c (inline_transform): Fix previous
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175256 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r-- | gcc/ipa-inline-transform.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c index 02d3e6507ad..c329beab3b4 100644 --- a/gcc/ipa-inline-transform.c +++ b/gcc/ipa-inline-transform.c @@ -364,13 +364,13 @@ inline_transform (struct cgraph_node *node) timevar_push (TV_INTEGRATION); if (node->callees) - { - todo = optimize_inline_calls (current_function_decl); - /* Redirecting edges might lead to a need for vops to be recomputed. */ - todo |= TODO_update_ssa_only_virtuals; - } + todo = optimize_inline_calls (current_function_decl); timevar_pop (TV_INTEGRATION); + if (!(todo & TODO_update_ssa_any)) + /* Redirecting edges might lead to a need for vops to be recomputed. */ + todo |= TODO_update_ssa_only_virtuals; + cfun->always_inline_functions_inlined = true; cfun->after_inlining = true; return todo | execute_fixup_cfg (); |