arm: testsuite: avoid problems with -mfpu=auto in pacbti-m-predef-11.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/acle/pacbti-m-predef-11.c: Add +fp to the -march specification.
This commit is contained in:
parent
ed52bc2e30
commit
380f419773
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/* { dg-do compile } */
|
||||
/* { dg-skip-if "avoid conflicting multilib options" { *-*-* } { "-marm" "-mcpu=*" "-mfloat-abi=*" } } */
|
||||
/* { dg-options "-march=armv8.1-m.main+pacbti" } */
|
||||
/* { dg-options "-march=armv8.1-m.main+fp+pacbti" } */
|
||||
|
||||
#if (__ARM_FEATURE_BTI != 1)
|
||||
#error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be defined to 1."
|
||||
|
|
Loading…
Add table
Reference in a new issue