From 199fb02a7813cabc00dd5802f26aea27e977f372 Mon Sep 17 00:00:00 2001 From: Ilya Enkovich Date: Fri, 12 Feb 2016 13:17:28 +0000 Subject: re PR middle-end/69729 ([CHKP] internal compiler error: Segmentation fault) gcc/ PR target/69729 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args to correctly determine instrumentation thunks. gcc/testsuite/ * g++.dg/lto/lto.exp: Include and init mpx. * g++.dg/lto/pr69729_0.C: New test. From-SVN: r233376 --- gcc/lto-streamer-out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/lto-streamer-out.c') diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 6bb76cc..997a28b 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -2321,7 +2321,7 @@ lto_output (void) { if (lto_symtab_encoder_encode_body_p (encoder, node) && !node->alias - && (!node->thunk.thunk_p || !node->instrumented_version)) + && (!node->thunk.thunk_p || !node->thunk.add_pointer_bounds_args)) { if (flag_checking) { -- cgit v1.1