]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: testsuite: improve compatibility of gcc.target/arm/pr19599.c
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 6 Nov 2023 16:21:45 +0000 (16:21 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:56 +0000 (14:15 +0000)
Add +fp to the architecture specification, so that -mfpu=auto works
with the hard-float ABI.

gcc/testsuite:

* gcc.target/arm/pr19599.c: Add +fp to the architecture.

gcc/testsuite/gcc.target/arm/pr19599.c

index a536548442f3e64e0d7e7daad1df4586424e6696..d2f15ae4499a38aeb7313078278e7d001254a501 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-skip-if "need at least armv5te" { *-*-* } { "-march=armv[234]*" "-mthumb" } { "" } } */
 /* { dg-skip-if "FDPIC does not support armv5te" { arm*-*-uclinuxfdpiceabi } "*" "" } */
-/* { dg-options "-O2 -march=armv5te -marm" }  */
+/* { dg-options "-O2 -march=armv5te+fp -marm" }  */
 /* { dg-final { scan-assembler "bx" } } */
 
 int (*indirect_func)();