gcc.target/arm/lto/pr65837 fails on M profile ARM targets because of lack of neon instructions. This patch adds the necessary arm_neon_ok effective target requirement to avoid running this test for such targets.
ChangeLog entry is as follows: * gcc/testsuite/ChangeLog *** 2015-12-08 Thomas Preud'homme <thomas.preudho...@arm.com> PR testsuite/68632 * gcc.target/arm/lto/pr65837_0.c: Require arm_neon_ok effective target. diff --git a/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c b/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c index 000fc2a..fcc26a1 100644 --- a/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c +++ b/gcc/testsuite/gcc.target/arm/lto/pr65837_0.c @@ -1,4 +1,5 @@ /* { dg-lto-do run } */ +/* { dg-require-effective-target arm_neon_ok } */ /* { dg-lto-options {{-flto -mfpu=neon}} } */ /* { dg-suppress-ld-options {-mfpu=neon} } */ Testcase fails without the patch and succeeds with. Is this ok for trunk? Best regards, Thomas