Update previous delta to ensure that the attributes are actually tested.
authorNick Clifton <nickc@gcc.gnu.org>
Thu, 14 Jan 2016 15:05:29 +0000 (15:05 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 14 Jan 2016 15:05:29 +0000 (15:05 +0000)
From-SVN: r232365

gcc/testsuite/gcc.target/arm/attr-neon.c

index 689e5e4..225fb8d 100644 (file)
@@ -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")))