diff mbox series

[committed,AArch64] Make test options_set_10.c not run on native

Message ID 20190304154950.GA19958@arm.com
State New
Headers show
Series [committed,AArch64] Make test options_set_10.c not run on native | expand

Commit Message

Tamar Christina March 4, 2019, 3:49 p.m. UTC
Hi All,

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.

Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
Cross compiled and regtested on aarch64-none-linux-gnu and no issues.

Committed under the GCC obvious rules.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

2019-03-04  Tamar Christina  <tamar.christina@arm.com>

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

--

Comments

Jakub Jelinek March 4, 2019, 3:52 p.m. UTC | #1
On Mon, Mar 04, 2019 at 03:49:54PM +0000, Tamar Christina wrote:
> Hi All,
> 
> 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.
> 
> Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
> Cross compiled and regtested on aarch64-none-linux-gnu and no issues.
> 
> Committed under the GCC obvious rules.
> 
> Thanks,
> Tamar
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-03-04  Tamar Christina  <tamar.christina@arm.com>
> 
> 	PR target/88530
> 	* gcc.target/aarch64/options_set_10.c:

Missing description of what you've changed.

	Jakub
Tamar Christina March 4, 2019, 4:31 p.m. UTC | #2
Oh dear. I hadn't noticed that at all.

Thanks,
Corrected it.

gcc/testsuite/ChangeLog:

2019-03-04  Tamar Christina  <tamar.christina@arm.com>

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

> -----Original Message-----
> From: Jakub Jelinek <jakub@redhat.com>
> Sent: Monday, March 4, 2019 15:52
> To: Tamar Christina <Tamar.Christina@arm.com>
> Cc: gcc-patches@gcc.gnu.org; nd <nd@arm.com>; James Greenhalgh
> <James.Greenhalgh@arm.com>; Richard Earnshaw
> <Richard.Earnshaw@arm.com>; Marcus Shawcroft
> <Marcus.Shawcroft@arm.com>
> Subject: Re: [committed][PATCH][GCC][AArch64] Make test
> options_set_10.c not run on native
> 
> On Mon, Mar 04, 2019 at 03:49:54PM +0000, Tamar Christina wrote:
> > Hi All,
> >
> > 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.
> >
> > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.
> > Cross compiled and regtested on aarch64-none-linux-gnu and no issues.
> >
> > Committed under the GCC obvious rules.
> >
> > Thanks,
> > Tamar
> >
> > gcc/testsuite/ChangeLog:
> >
> > 2019-03-04  Tamar Christina  <tamar.christina@arm.com>
> >
> > 	PR target/88530
> > 	* gcc.target/aarch64/options_set_10.c:
> 
> Missing description of what you've changed.
> 
> 	Jakub
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_10.c b/gcc/testsuite/gcc.target/aarch64/options_set_10.c
index 5ffe83c199165dd4129814674297056bdf27cd83..1fc8aa86fd6ef7a7a8f502be149f07514091eccd 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 ()