aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2016-01-14 15:05:29 +0000
committerNick Clifton <nickc@gcc.gnu.org>2016-01-14 15:05:29 +0000
commit21f88b7a131e29d1835dea1dd431ba939680878c (patch)
tree0d58c760cf7e325a252acd08be62c541a0945130
parente403d17e3df79a91601283cad6af8d30430847f7 (diff)
downloadgcc-21f88b7a131e29d1835dea1dd431ba939680878c.zip
gcc-21f88b7a131e29d1835dea1dd431ba939680878c.tar.gz
gcc-21f88b7a131e29d1835dea1dd431ba939680878c.tar.bz2
Update previous delta to ensure that the attributes are actually tested.
From-SVN: r232365
-rw-r--r--gcc/testsuite/gcc.target/arm/attr-neon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/attr-neon.c b/gcc/testsuite/gcc.target/arm/attr-neon.c
index 689e5e4..225fb8d 100644
--- a/gcc/testsuite/gcc.target/arm/attr-neon.c
+++ b/gcc/testsuite/gcc.target/arm/attr-neon.c
@@ -1,7 +1,7 @@
/* { dg-do compile } */
/* { dg-require-effective-target arm_neon_ok } */
/* { dg-options "-O2 -ftree-vectorize" } */
-/* { dg-add-options arm_neon } */
+/* { dg-add-options arm_neon arm_v8_vfp } */ /* The arm_v8_vfp adds -mfpu=fp-armv8 to the command line, overriding any -mfpu= option set by arm_neon, thus ensuring that the attributes below really are checked for correct fpu selection. */
/* Verify that neon instructions are emitted once. */
void __attribute__ ((target("fpu=neon")))