aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-11-25 16:43:24 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-11-25 16:43:24 +0000
commit743c11344e3b55bfb0f90983e0bc060c13225054 (patch)
treed29197fd1c87f1c9356178a10edff73d67a78698 /gcc/lto-streamer-out.c
parent8301b194d24cb01e54f36822740ed5b835358fd1 (diff)
downloadgcc-743c11344e3b55bfb0f90983e0bc060c13225054.zip
gcc-743c11344e3b55bfb0f90983e0bc060c13225054.tar.gz
gcc-743c11344e3b55bfb0f90983e0bc060c13225054.tar.bz2
re PR middle-end/64065 (CP2K miscompilation at -O3 -flto)
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. From-SVN: r218049
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r--gcc/lto-streamer-out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index 19f59a0..2446d88 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -1956,6 +1956,7 @@ output_struct_function_base (struct output_block *ob, struct function *fn)
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);