arm: testsuite: improve compatibility of gcc.target/arm/pr19599.c

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.
This commit is contained in:
Richard Earnshaw 2023-11-06 16:21:45 +00:00
parent 511e5938d7
commit cf86e67b15

View 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)();