diff options
author | Richard Biener <rguenther@suse.de> | 2014-03-04 11:25:50 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-03-04 11:25:50 +0000 |
commit | 91856735012800f9cf75affc9abe6c7bf56739c8 (patch) | |
tree | a80cc2694efb22749344a087ddb94257dbd5480a /gcc/lto-streamer-in.c | |
parent | 064fd5a8d077d62dc4c0cf962f2b70b44cdb9a7f (diff) | |
download | gcc-91856735012800f9cf75affc9abe6c7bf56739c8.tar.gz |
re PR lto/60405 (ICE in lto1 on x86_64-linux-gnu)
2014-03-04 Richard Biener <rguenther@suse.de>
PR lto/60405
* lto-streamer-in.c (lto_read_body): Remove LTO bytecode version
check.
(lto_input_toplevel_asms): Likewise.
* lto-section-in.c (lto_get_section_data): Instead do it here
for every section.
From-SVN: r208311
Diffstat (limited to 'gcc/lto-streamer-in.c')
-rw-r--r-- | gcc/lto-streamer-in.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/lto-streamer-in.c b/gcc/lto-streamer-in.c index 68d3cdac41f..da248b94692 100644 --- a/gcc/lto-streamer-in.c +++ b/gcc/lto-streamer-in.c @@ -1059,10 +1059,6 @@ lto_read_body (struct lto_file_decl_data *file_data, struct cgraph_node *node, data_in = lto_data_in_create (file_data, data + string_offset, header->string_size, vNULL); - /* Make sure the file was generated by the exact same compiler. */ - lto_check_version (header->lto_header.major_version, - header->lto_header.minor_version); - if (section_type == LTO_section_function_body) { struct lto_in_decl_state *decl_state; @@ -1331,10 +1327,6 @@ lto_input_toplevel_asms (struct lto_file_decl_data *file_data, int order_base) data_in = lto_data_in_create (file_data, data + string_offset, header->string_size, vNULL); - /* Make sure the file was generated by the exact same compiler. */ - lto_check_version (header->lto_header.major_version, - header->lto_header.minor_version); - while ((str = streamer_read_string_cst (data_in, &ib))) { struct asm_node *node = add_asm_node (str); |