]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: testsuite: improve compatibility of arm/lto/pr96939_1.c
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 3 Nov 2023 17:41:21 +0000 (17:41 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:55 +0000 (14:15 +0000)
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

index 53c6093e803d2971427b10be5da5d96bbc27be8e..4afdbdaf5adbdaeb574076f41d1b838d2577fd9d 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/96939 */
-/* { dg-options "-march=armv8-a+crc" } */
+/* { dg-options "-march=armv8-a+simd+crc" } */
 
 #include <arm_acle.h>