diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-12 18:08:52 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-06-12 18:08:52 +0000 |
commit | 77486e4a3bdfe3cacdc54ab3a9c0a9dd34d4247d (patch) | |
tree | 061b74b01dafa17d2b4db0cb28d11c1fcaf15eb3 /gcc/ipa-inline-transform.c | |
parent | 8a472e4dd7195b35f2f4a85dce2a462c549acf97 (diff) | |
download | gcc-77486e4a3bdfe3cacdc54ab3a9c0a9dd34d4247d.tar.gz |
PR middle-end/48836
* ipa-inline-transform.c: Include tree-pass.h
(inline_transform): Set TODO_update_ssa_only_virtuals.
* Makefile.in (ipa-inline-transform.o): Add tree-pass.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r-- | gcc/ipa-inline-transform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c index b62e50b93f0..e10e28e1753 100644 --- a/gcc/ipa-inline-transform.c +++ b/gcc/ipa-inline-transform.c @@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. If not see #include "ipa-prop.h" #include "ipa-inline.h" #include "tree-inline.h" +#include "tree-pass.h" int ncalls_inlined; int nfunctions_inlined; @@ -338,6 +339,8 @@ inline_transform (struct cgraph_node *node) cgraph_redirect_edge_call_stmt_to_callee (e); if (!e->inline_failed || warn_inline) inline_p = true; + /* Redirecting edges might lead to a need for vops to be recomputed. */ + todo |= TODO_update_ssa_only_virtuals; } if (inline_p) |