]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] Fix gcc.target/arm/xor-and.c
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 17 Jan 2018 11:13:05 +0000 (11:13 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 17 Jan 2018 11:13:05 +0000 (11:13 +0000)
commit5a08c6f46427e71ecb72ba51c64fe380fce7054e
tree7224b526ad13b25e7583b1a9c168b2651629b3d9
parent1b45f2600e276565fc59a092f9d38493d605da54
[arm] Fix gcc.target/arm/xor-and.c

This test is naughty because it doesn't use the proper effective target checks
and add-options mechanisms for setting a Thumb1 target, which leads to Thumb1 hard-float errors
when testing a toolchain configured with --with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=hard --with-mode=thumb.

This patch fixes that in the obvious way.

* gcc.target/arm/xor-and.c: Fix armv6 effective target checks
and options.

From-SVN: r256782
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/xor-and.c