From: Uros Bizjak Date: Sat, 9 Feb 2013 15:06:08 +0000 (+0100) Subject: asan_test.C: Compile with -D__NO_INLINE__ for *-*-linux-gnu targets. X-Git-Tag: releases/gcc-4.8.0~517 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acd5a6da9d6363f7f72eac03ed97232e415161bf;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 69d7a15d2ade..53cbcf85ac26 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 106c1121ac5e..80be39b95af5 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 db105ae871f4..d326e56cf932 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 b7999e94b1dd..e64c184a48a7 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 04c846a70a0f..79248e06df69 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* } }