[PATCH][GCC][AArch64] Have empty HWCAPs string ignored during native feature detection

Tamar Christina Tamar.Christina@arm.com
Mon Mar 4 13:43:00 GMT 2019


> -----Original Message-----
> From: Jakub Jelinek <jakub@redhat.com>
> Sent: Monday, March 4, 2019 13:38
> To: Christophe Lyon <christophe.lyon@linaro.org>
> Cc: Tamar Christina <Tamar.Christina@arm.com>; James Greenhalgh
> <James.Greenhalgh@arm.com>; Kyrill Tkachov
> <kyrylo.tkachov@foss.arm.com>; gcc-patches@gcc.gnu.org; nd
> <nd@arm.com>; Richard Earnshaw <Richard.Earnshaw@arm.com>; Marcus
> Shawcroft <Marcus.Shawcroft@arm.com>
> Subject: Re: [PATCH][GCC][AArch64] Have empty HWCAPs string ignored
> during native feature detection
> 
> On Mon, Mar 04, 2019 at 02:31:57PM +0100, Christophe Lyon wrote:
> > The new test fails with a cross-compiler, because:
> > FAIL: gcc.target/aarch64/options_set_10.c (test for excess errors)
> > Excess errors:
> > cc1: error: unknown value 'native' for -mcpu
> >
> > I don't know how to restrict tests to native compilers only.
> 
> { target native }
> perhaps?

Oh, I didn't know about that one, I knew about isnative , I'll give it a try and see. Thanks!

Regards,
Tamar

> 
> 	Jakub



More information about the Gcc-patches mailing list