[PATCH][ARM][tests] Add -march=armv6 to tests that have -mapcs

Kyrill Tkachov kyrylo.tkachov@arm.com
Wed Jan 14 10:45:00 GMT 2015


Hi all,

I'm proposing a gas patch to add warnings for deprecated forms of ldm in 
ARMv7-A.
(https://sourceware.org/ml/binutils/2015-01/msg00158.html)
Unfortunately, GCC generates these deprecated forms with -mapcs-frame.
Since the deprecation happens only from armv7-a onwards, this patch adds 
-march=armv6 to the tests that use -mapcs so that the assembler doesn't 
complain. -mapcs is a pretty old option that was not intended to be used 
with newer architecture levels anyway, as far as I can tell.

Ok for trunk?

Thanks,
Kyrill

2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * gcc.target/arm/neon-nested-apcs.c: Add -march=armv6 to options.
     * gcc.target/arm/nested-apcs.c: Likewise.
     * gcc.target/arm/pr60264.c: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-mapcs-tests.patch
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150114/700036fe/attachment.bin>


More information about the Gcc-patches mailing list