AArch64: Make test options_set_10.c not run on native.
authorTamar Christina <tamar.christina@arm.com>
Mon, 4 Mar 2019 15:48:49 +0000 (15:48 +0000)
committerTamar Christina <tnfchris@gcc.gnu.org>
Mon, 4 Mar 2019 15:48:49 +0000 (15:48 +0000)
The test options_set_10.c shouldn't run when cross compiled.
In addition to gating it on linux I'm also gating it on native now.

gcc/testsuite/ChangeLog:

PR target/88530
* gcc.target/aarch64/options_set_10.c:

From-SVN: r269366

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/options_set_10.c

index cbcb1a97c574373373b7f90c400231977fb7fa66..4ac548385ea5be73ce14eee6f8699e0b879670fc 100644 (file)
@@ -1,3 +1,8 @@
+2019-03-04  Tamar Christina  <tamar.christina@arm.com>
+
+       PR target/88530
+       * gcc.target/aarch64/options_set_10.c:
+
 2019-03-04  Wilco Dijkstra  <wdijkstr@arm.com>
 
        PR tree-optimization/89437
index 5ffe83c199165dd4129814674297056bdf27cd83..1fc8aa86fd6ef7a7a8f502be149f07514091eccd 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target "aarch64*-*-linux*" } } */
+/* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */
 /* { dg-additional-options "-mcpu=native" } */
 
 int main ()