From acd5a6da9d6363f7f72eac03ed97232e415161bf Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Sat, 9 Feb 2013 16:06:08 +0100 Subject: [PATCH] asan_test.C: Compile with -D__NO_INLINE__ for *-*-linux-gnu targets. * g++.dg/asan/asan_test.C: Compile with -D__NO_INLINE__ for *-*-linux-gnu targets. * g++.dg/asan/interception-test-1.c: Ditto. * g++.dg/asan/interception-failure-test-1.C: Ditto. * g++.dg/asan/interception-malloc-test-1.C: Ditto. From-SVN: r195916 --- gcc/testsuite/ChangeLog | 10 +++++++++- gcc/testsuite/g++.dg/asan/asan_test.C | 1 + .../g++.dg/asan/interception-failure-test-1.C | 1 + gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C | 1 + gcc/testsuite/g++.dg/asan/interception-test-1.C | 1 + 5 files changed, 13 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 69d7a15d2ad..53cbcf85ac2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2013-02-09 Uros Bizjak + + * g++.dg/asan/asan_test.C: Compile with -D__NO_INLINE__ + for *-*-linux-gnu targets. + * g++.dg/asan/interception-test-1.c: Ditto. + * g++.dg/asan/interception-failure-test-1.C: Ditto. + * g++.dg/asan/interception-malloc-test-1.C: Ditto. + 2013-02-09 Paul Thomas PR fortran/55362 @@ -184,7 +192,7 @@ * gfortran.dg/realloc_on _assign_17.f90 : New test. 2013-02-04 Alexander Potapenko - Jack Howarth + Jack Howarth Jakub Jelinek PR sanitizer/55617 diff --git a/gcc/testsuite/g++.dg/asan/asan_test.C b/gcc/testsuite/g++.dg/asan/asan_test.C index 106c1121ac5..80be39b95af 100644 --- a/gcc/testsuite/g++.dg/asan/asan_test.C +++ b/gcc/testsuite/g++.dg/asan/asan_test.C @@ -7,6 +7,7 @@ // { dg-additional-options "-DASAN_LOW_MEMORY=1 -DASAN_NEEDS_SEGV=0" { target arm*-*-* } } // { dg-additional-options "-DASAN_AVOID_EXPENSIVE_TESTS=1" { target { ! run_expensive_tests } } } // { dg-additional-options "-msse2" { target { i?86-*-linux* x86_64-*-linux* } } } +// { dg-additional-options "-D__NO_INLINE__" { target { *-*-linux-gnu } } } // { dg-final { asan-gtest } } #include "asan_test.cc" diff --git a/gcc/testsuite/g++.dg/asan/interception-failure-test-1.C b/gcc/testsuite/g++.dg/asan/interception-failure-test-1.C index db105ae871f..d326e56cf93 100644 --- a/gcc/testsuite/g++.dg/asan/interception-failure-test-1.C +++ b/gcc/testsuite/g++.dg/asan/interception-failure-test-1.C @@ -3,6 +3,7 @@ // { dg-do run } // { dg-options "-fno-builtin-malloc -fno-builtin-free" } +// { dg-additional-options "-D__NO_INLINE__" { target { *-*-linux-gnu } } } #include #include diff --git a/gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C b/gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C index b7999e94b1d..e64c184a48a 100644 --- a/gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C +++ b/gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C @@ -2,6 +2,7 @@ // { dg-do run { target *-*-linux* } } // { dg-options "-fno-builtin-free" } +// { dg-additional-options "-D__NO_INLINE__" { target { *-*-linux-gnu } } } // { dg-shouldfail "asan" } #include diff --git a/gcc/testsuite/g++.dg/asan/interception-test-1.C b/gcc/testsuite/g++.dg/asan/interception-test-1.C index 04c846a70a0..79248e06df6 100644 --- a/gcc/testsuite/g++.dg/asan/interception-test-1.C +++ b/gcc/testsuite/g++.dg/asan/interception-test-1.C @@ -2,6 +2,7 @@ // { dg-do run } // { dg-options "-fno-builtin-malloc -fno-builtin-free" } +// { dg-additional-options "-D__NO_INLINE__" { target { *-*-linux-gnu } } } // { dg-shouldfail "asan" } // { dg-skip-if "Darwin uses mac function interposition" { *-*-darwin* } } -- 2.30.2