This test overrides the architecture, but fails to describe which floating-point features are needed. This causes problems if the ABI requires FP for parameter passing and -mfpu=auto is selected, so ensure that one is specified. gcc/testsuite: * gcc.target/arm/attr_thumb-static2.c: Add +fp to the -march specification. --- gcc/testsuite/gcc.target/arm/attr_thumb-static2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)