From 664f54041e00d1cb547461e4bac7965b77bda00a Mon Sep 17 00:00:00 2001
From: Tamar Christina <tamar.christina@arm.com>
Date: Mon, 4 Mar 2019 15:48:49 +0000
Subject: [PATCH] AArch64: Make test options_set_10.c not run on native.

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                           | 5 +++++
 gcc/testsuite/gcc.target/aarch64/options_set_10.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index cbcb1a97c574..4ac548385ea5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_10.c b/gcc/testsuite/gcc.target/aarch64/options_set_10.c
index 5ffe83c19916..1fc8aa86fd6e 100644
--- a/gcc/testsuite/gcc.target/aarch64/options_set_10.c
+++ b/gcc/testsuite/gcc.target/aarch64/options_set_10.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target "aarch64*-*-linux*" } } */
+/* { dg-do compile { target { { aarch64*-*-linux*} && native } } } */
 /* { dg-additional-options "-mcpu=native" } */
 
 int main ()
-- 
GitLab