aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-streamer-in.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2013-08-31 15:44:46 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2013-08-31 13:44:46 +0000
commit4843f03206f7ee188c5f7368ec6e64da7e90a396 (patch)
treed06573f8980bf9312721db9d6677d8f26547ca5d /gcc/gimple-streamer-in.c
parent57292ce9bd9df2ff43d3cb13f3761b6eb5cf6334 (diff)
downloadgcc-4843f03206f7ee188c5f7368ec6e64da7e90a396.zip
gcc-4843f03206f7ee188c5f7368ec6e64da7e90a396.tar.gz
gcc-4843f03206f7ee188c5f7368ec6e64da7e90a396.tar.bz2
cgraph.c (cgraph_get_body): Update call of lto_input_function_body.
* cgraph.c (cgraph_get_body): Update call of lto_input_function_body. * gimple-streamer-in.c (input_gimple_stmt): Move sanity check to ... * ipa-utils.c: Include lto-streamer.h, ipa-inline.h (ipa_merge_profiles): New function. * lto-streamer-in.c (lto_read_body): Take node instead of fn_decl. (lto_input_function_body): Likewise. From-SVN: r202130
Diffstat (limited to 'gcc/gimple-streamer-in.c')
-rw-r--r--gcc/gimple-streamer-in.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/gimple-streamer-in.c b/gcc/gimple-streamer-in.c
index 03fbe91..4abf9cd 100644
--- a/gcc/gimple-streamer-in.c
+++ b/gcc/gimple-streamer-in.c
@@ -282,9 +282,6 @@ input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in,
if (lhs && TREE_CODE (lhs) == SSA_NAME)
SSA_NAME_DEF_STMT (lhs) = stmt;
}
- else if (code == GIMPLE_LABEL)
- gcc_assert (emit_label_in_global_context_p (gimple_label_label (stmt))
- || DECL_CONTEXT (gimple_label_label (stmt)) == fn->decl);
else if (code == GIMPLE_ASM)
{
unsigned i;