[arm] Fix gcc.target/arm/pr40887.c directives
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Wed, 17 Jan 2018 11:24:52 +0000 (11:24 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 17 Jan 2018 11:24:52 +0000 (11:24 +0000)
commitd83fae9d62cf039af090b078abb4af36e4c71193
treebef51fb254475018d4f7d7e53118f3f14a5b3d94
parentb67d554cc2cc01ff69abf2301f1c5ca05ae9b86f
[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.

From-SVN: r256784
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr40887.c