[arm] Fix gcc.target/arm/xor-and.c
commitfcdc8964f4ea9c8b56a6322118eb39a5e8bf2f12
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2018 11:13:05 +0000 (17 11:13 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2018 11:13:05 +0000 (17 11:13 +0000)
tree7224b526ad13b25e7583b1a9c168b2651629b3d9
parent2f4f74d2ece7beceb406dd5ca5c3d63767eb0e13
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256782 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/xor-and.c