diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2013-02-09 16:06:08 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-02-09 16:06:08 +0100 |
commit | acd5a6da9d6363f7f72eac03ed97232e415161bf (patch) | |
tree | 9613c9211742543bd5d66d04af63b88b76d848a7 /gcc | |
parent | 52880d11ce08fc59999823524667a7f135e7dbac (diff) | |
download | gcc-acd5a6da9d6363f7f72eac03ed97232e415161bf.zip gcc-acd5a6da9d6363f7f72eac03ed97232e415161bf.tar.gz gcc-acd5a6da9d6363f7f72eac03ed97232e415161bf.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/asan/asan_test.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/asan/interception-failure-test-1.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/asan/interception-malloc-test-1.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/asan/interception-test-1.C | 1 |
5 files changed, 13 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 69d7a15..53cbcf8 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2013-02-09 Uros Bizjak <ubizjak@gmail.com> + + * 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 <pault@gcc.gnu.org> PR fortran/55362 @@ -184,7 +192,7 @@ * gfortran.dg/realloc_on _assign_17.f90 : New test. 2013-02-04 Alexander Potapenko <glider@google.com> - Jack Howarth <howarth@bromo.med.uc.edu> + Jack Howarth <howarth@bromo.med.uc.edu> Jakub Jelinek <jakub@redhat.com> PR sanitizer/55617 diff --git a/gcc/testsuite/g++.dg/asan/asan_test.C b/gcc/testsuite/g++.dg/asan/asan_test.C index 106c112..80be39b 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 db105ae..d326e56 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 <stdlib.h> #include <stdio.h> 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 b7999e9..e64c184 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 <stdlib.h> diff --git a/gcc/testsuite/g++.dg/asan/interception-test-1.C b/gcc/testsuite/g++.dg/asan/interception-test-1.C index 04c846a..79248e06 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* } } |