From 6c95388f116dd28bdbcfec25c8f535ccde1d8603 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 25 Oct 2016 22:15:20 +0200 Subject: [PATCH] re PR sanitizer/78106 (ASAN can't find heap-use-after-free with -O1) PR sanitizer/78106 * gcc.dg/asan/pr78106.c: Add -ffat-lto-objects to dg-options. From-SVN: r241537 --- gcc/testsuite/ChangeLog | 17 +++++++++++------ gcc/testsuite/gcc.dg/asan/pr78106.c | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index decdae89d1b..6e36b43bfe3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2016-10-25 Fritz Reese +2016-10-25 Jakub Jelinek + + PR sanitizer/78106 + * gcc.dg/asan/pr78106.c: Add -ffat-lto-objects to dg-options. + +2016-10-25 Fritz Reese * gfortran.dg/dec_bitwise_ops_1.f90: New test. * gfortran.dg/dec_bitwise_ops_2.f90: New test. @@ -21,23 +26,23 @@ PR target/78102 * gcc.target/i386/pr78102.c: New test. -2016-10-25 Fritz Reese +2016-10-25 Fritz Reese * gfortran.dg/dec_logical_xor_1.f90: New test. * gfortran.dg/dec_logical_xor_2.f90: New test. * gfortran.dg/dec_logical_xor_3.f03: New test. -2016-10-25 Fritz Reese +2016-10-25 Fritz Reese * gfortran.dg/dec_loc_rval_1.f90: New test. * gfortran.dg/dec_loc_rval_2.f90: New test. * gfortran.dg/dec_loc_rval_3.f03: New test. -2016-10-25 Fritz Reese +2016-10-25 Fritz Reese * gfortran.dg/dec_type_print.f90: New testcase. -2016-10-25 Fritz Reese +2016-10-25 Fritz Reese * gfortran.dg/feed_1.f90: New test. * gfortran.dg/feed_2.f90: New test. @@ -684,7 +689,7 @@ * g++.dg/concepts/decl-diagnose.C (struct X): Expect also error about uninitialized const. -2016-10-13 Sandra Loosemore +2016-10-13 Sandra Loosemore * gcc.target/arm/scd42-1.c: Skip if -mcpu incompatible with Xscale is specified, not just -march. diff --git a/gcc/testsuite/gcc.dg/asan/pr78106.c b/gcc/testsuite/gcc.dg/asan/pr78106.c index d333f9bc082..adf65dd68f4 100644 --- a/gcc/testsuite/gcc.dg/asan/pr78106.c +++ b/gcc/testsuite/gcc.dg/asan/pr78106.c @@ -1,6 +1,6 @@ /* PR sanitizer/78106 */ /* { dg-do compile } */ -/* { dg-options "-fsanitize=address -fdump-tree-sanopt-details" } */ +/* { dg-options "-fsanitize=address -fdump-tree-sanopt-details -ffat-lto-objects" } */ int *variable; -- 2.30.2