[arm] Fix gcc.target/arm/pr40887.c directives
commit05d4b1231bdb1b61b6c83627488da80bf855f3e3
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2018 11:24:52 +0000 (17 11:24 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Jan 2018 11:24:52 +0000 (17 11:24 +0000)
treebef51fb254475018d4f7d7e53118f3f14a5b3d94
parentb91144a2cd699892bab806e608e833d0bf57fd7d
[arm] Fix gcc.target/arm/pr40887.c directives

This patch converts gcc.target/arm/pr40887.c to use the proper effective target check and dg-add-options for armv5te
so that we avoid situations where we end up trying to compile the test with a Thumb1 hard-float ABI, which makes the
compiler complain.

This allows the test to pass gracefully for me for my compiler configured with:
--with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=hard --with-mode=thumb

     * gcc.target/arm/pr40887.c: Add armv5te effective target checks and
     directives.

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