From: Richard Earnshaw Date: Fri, 3 Nov 2023 17:41:21 +0000 (+0000) Subject: arm: testsuite: improve compatibility of arm/lto/pr96939_1.c X-Git-Tag: basepoints/gcc-15~4738 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418ec7e7436dd14af3b29da55e830169c7b62cdb;p=thirdparty%2Fgcc.git arm: testsuite: improve compatibility of arm/lto/pr96939_1.c This test overrides the architecture, but fails to specify the floating point architecture. This causes problems if -mfpu=auto is used. gcc/testsuite: * gcc.target/arm/lto/pr96939_1.c: Add +simd to the architecture specification. --- diff --git a/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c b/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c index 53c6093e803d..4afdbdaf5adb 100644 --- a/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c +++ b/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c @@ -1,5 +1,5 @@ /* PR target/96939 */ -/* { dg-options "-march=armv8-a+crc" } */ +/* { dg-options "-march=armv8-a+simd+crc" } */ #include