From 418ec7e7436dd14af3b29da55e830169c7b62cdb Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Fri, 3 Nov 2023 17:41:21 +0000 Subject: 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. --- gcc/testsuite/gcc.target/arm/lto/pr96939_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c b/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c index 53c6093..4afdbda 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 -- cgit v1.1