arm: testsuite: avoid problems with -mfpu=auto in attr_thumb-static2.c
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.
This commit is contained in:
parent
825652797c
commit
f757ea72ed
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
/* { dg-do compile } */
|
||||
/* { dg-require-effective-target arm_arch_v7a_ok } */
|
||||
/* { dg-options "-O0 -march=armv7-a" } */
|
||||
/* { dg-options "-O0 -march=armv7-a+fp" } */
|
||||
|
||||
struct _NSPoint
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue