This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix PR64065(?)
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 25 Nov 2014 14:35:42 +0100 (CET)
- Subject: [PATCH] Fix PR64065(?)
- Authentication-results: sourceware.org; auth=none
The following might fix PR64065 but is certainly a bug.
Bootstrap and regtest running on x86_64-unknown-linux-gnu.
Richard.
2014-11-25 Richard Biener <rguenther@suse.de>
PR lto/64065
* lto-streamer-out.c (output_struct_function_base): Stream
last_clique field.
* lto-streamer-in.c (input_struct_function_base): Likewise.
Index: gcc/lto-streamer-out.c
===================================================================
--- gcc/lto-streamer-out.c (revision 218019)
+++ gcc/lto-streamer-out.c (working copy)
@@ -1956,6 +1956,7 @@ output_struct_function_base (struct outp
bp_pack_value (&bp, fn->has_simduid_loops, 1);
bp_pack_value (&bp, fn->va_list_fpr_size, 8);
bp_pack_value (&bp, fn->va_list_gpr_size, 8);
+ bp_pack_value (&bp, fn->last_clique, sizeof (short) * 8);
/* Output the function start and end loci. */
stream_output_location (ob, &bp, fn->function_start_locus);
Index: gcc/lto-streamer-in.c
===================================================================
--- gcc/lto-streamer-in.c (revision 218019)
+++ gcc/lto-streamer-in.c (working copy)
@@ -903,6 +903,7 @@ input_struct_function_base (struct funct
fn->has_simduid_loops = bp_unpack_value (&bp, 1);
fn->va_list_fpr_size = bp_unpack_value (&bp, 8);
fn->va_list_gpr_size = bp_unpack_value (&bp, 8);
+ fn->last_clique = bp_unpack_value (&bp, sizeof (short) * 8);
/* Input the function start and end loci. */
fn->function_start_locus = stream_input_location (&bp, data_in);