This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM][testsuite][committed] Do not override -mcpu in no-volatile-in-it.c
- From: "Andre Vieira (lists)" <Andre dot SimoesDiasVieira at arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- Date: Fri, 18 Mar 2016 10:31:35 +0000
- Subject: Re: [PATCH][ARM][testsuite][committed] Do not override -mcpu in no-volatile-in-it.c
- Authentication-results: sourceware.org; auth=none
- References: <55A7CE34 dot 6050507 at arm dot com>
On 16/07/15 16:31, Kyrill Tkachov wrote:
> Hi all,
>
> This scan-assembler test was failing for me when testing with an
> explicit /-march=armv7-a variant because
> it clashed with the -mcpu=cortex-m7 and overrode it.
>
> This patch skips the test if the user forces an incompatible -march or
> -mcpu option.
> The test now appears as UNSUPPORTED in these conditions and PASSes
> normally.
>
> Applied as obvious with r225892.
>
> Thanks,
> Kyrill
>
> 2015-07-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * gcc.target/arm/no-volatile-in-it.c: Skip if -mcpu is overriden.
OK to backport this to gcc-5-branch?
Cheers,
Andre