diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2019-12-03 19:15:53 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2019-12-03 18:15:53 +0000 |
commit | 4f75f97bf61a610f21023b731159489e6d23f0fe (patch) | |
tree | 262a0354bdce60ac9f60a37e4362343747674705 /gcc/cgraph.c | |
parent | bd8a2482569900a114d631f9c38353d3a96a1d85 (diff) | |
download | gcc-4f75f97bf61a610f21023b731159489e6d23f0fe.zip gcc-4f75f97bf61a610f21023b731159489e6d23f0fe.tar.gz gcc-4f75f97bf61a610f21023b731159489e6d23f0fe.tar.bz2 |
Do not update SSA in lto-stremaer-in
* cgraph.c: Include tree-into-ssa.h
(cgraph_node::get_body): Call update_ssa.
* cgraphunit.c (cgraph_node::expand): Likewise.
* lto-streamer-in.c (input_function): Do not call update_ssa.
From-SVN: r278943
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index b75430f..ae61de4 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -62,6 +62,7 @@ along with GCC; see the file COPYING3. If not see #include "stringpool.h" #include "attribs.h" #include "selftest.h" +#include "tree-into-ssa.h" /* FIXME: Only for PROP_loops, but cgraph shouldn't have to know about this. */ #include "tree-pass.h" @@ -3599,6 +3600,8 @@ cgraph_node::get_body (void) set_dump_file (NULL); push_cfun (DECL_STRUCT_FUNCTION (decl)); + + update_ssa (TODO_update_ssa_only_virtuals); execute_all_ipa_transforms (true); cgraph_edge::rebuild_edges (); free_dominance_info (CDI_DOMINATORS); |