From c3b3e526fd4129731e4fe718a2de8a2ae11e929f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 24 Jan 2017 09:27:39 +0100 Subject: [PATCH] asan_test.C: Enable on all *-*-linux* targets that support asan... * 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 | 5 +++++ gcc/testsuite/g++.dg/asan/asan_test.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 50a04d32d35..f16f51ce9c2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-01-24 Jakub Jelinek + + * 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 PR target/66669 diff --git a/gcc/testsuite/g++.dg/asan/asan_test.C b/gcc/testsuite/g++.dg/asan/asan_test.C index 5c24260b7fd..410e4ce72d4 100644 --- a/gcc/testsuite/g++.dg/asan/asan_test.C +++ b/gcc/testsuite/g++.dg/asan/asan_test.C @@ -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" } -- 2.30.2