diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-07 07:48:59 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-07 07:48:59 +0000 |
commit | bb25146516668279fea6d1d4131af96863f18e2f (patch) | |
tree | dca52c1b4bd1b08e703705b2b1f193548cf0e483 /gcc/lto-streamer-in.c | |
parent | 5c8b4154e740337a3dd547242de446e7529a590e (diff) | |
download | gcc-bb25146516668279fea6d1d4131af96863f18e2f.tar.gz |
* cgraphunit.c (expand_thunk): Get body before touching arguments.
* lto-streamer-out.c: Stream thunks, too.
* lto-streamer-in.c (input_function): Pop cfun here
(lto_read_body): Instead of here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202352 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index f1d5935c427..7fa5bb34e58 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -998,6 +998,7 @@ input_function (tree fn_decl, struct data_in *data_in, free_dominance_info (CDI_DOMINATORS); free_dominance_info (CDI_POST_DOMINATORS); free (stmts); + pop_cfun (); } @@ -1086,8 +1087,6 @@ lto_read_body (struct lto_file_decl_data *file_data, struct cgraph_node *node, /* Restore decl state */ file_data->current_decl_state = file_data->global_decl_state; - - pop_cfun (); } lto_data_in_delete (data_in); |