asan_test.C: Enable on all *-*-linux* targets that support asan...
authorJakub Jelinek <jakub@redhat.com>
Tue, 24 Jan 2017 08:27:39 +0000 (09:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 24 Jan 2017 08:27:39 +0000 (09:27 +0100)
* g++.dg/asan/asan_test.C: Enable on all *-*-linux* targets that
support asan, only on i?86/x86_64 require sse2_runtime.

From-SVN: r244856

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/asan_test.C

index 50a04d32d35b56cd9e0080895691a605ec2f6bfa..f16f51ce9c25e8dff51fd85b028a15996a1380ad 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * g++.dg/asan/asan_test.C: Enable on all *-*-linux* targets that
+       support asan, only on i?86/x86_64 require sse2_runtime.
+
 2017-01-23  Kelvin Nilsen  <kelvin@gcc.gnu.org>
 
        PR target/66669
index 5c24260b7fd60afd3015e985920a4272a6706a10..410e4ce72d4f366e12b3b497da678e83ceb88dc7 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do run { target { { i?86-*-linux* x86_64-*-linux* } && sse2_runtime } } }
+// { dg-do run { target { { *-*-linux* } && { { ! { i?86-*-linux* x86_64-*-linux* } } || sse2_runtime } } } }
 // { dg-skip-if "" { *-*-* } { "*" } { "-O2" } }
 // { dg-skip-if "" { *-*-* } { "-flto" } { "" } }
 // { dg-additional-sources "asan_globals_test-wrapper.cc" }