Test gcc.target/arm/neon-vext-execute.c checks that the compiler can generate neon instructions, but it should also check that the test will be run using hardware that supports neon, which this patch adds. Tested with arm-none-linux-gnu for mainline and 4.9 with a variety of multilib flags.
OK for mainline and the 4.9 branch? Janis
2014-08-11 Janis Johnson <jani...@codesourcery.com> * gcc.target/arm/neon-vext-execute.c: Skip if the test won't run on Neon hardware. Index: gcc/testsuite/gcc.target/arm/neon-vext-execute.c =================================================================== --- gcc/testsuite/gcc.target/arm/neon-vext-execute.c (revision 437379) +++ gcc/testsuite/gcc.target/arm/neon-vext-execute.c (working copy) @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target arm_neon_ok } */ +/* { dg-require-effective-target arm_neon_hw } */ /* { dg-require-effective-target arm_little_endian } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_neon } */