diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2023-11-03 15:27:12 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2023-11-13 14:15:55 +0000 |
commit | 825652797cc476bf8253edf894d3926b51cf942e (patch) | |
tree | 0198a8244d5729eb0e22b5add7babe5416df9e49 | |
parent | 380f419773077442750ba65568d25bc0627490fe (diff) | |
download | gcc-825652797cc476bf8253edf894d3926b51cf942e.zip gcc-825652797cc476bf8253edf894d3926b51cf942e.tar.gz gcc-825652797cc476bf8253edf894d3926b51cf942e.tar.bz2 |
arm: testsuite: avoid problems with -mfpu=auto in attr-crypto.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-crypto.c: Add +simd to the -march
specification.
-rw-r--r-- | gcc/testsuite/gcc.target/arm/attr-crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/attr-crypto.c b/gcc/testsuite/gcc.target/arm/attr-crypto.c index 05e458f..3959d0b 100644 --- a/gcc/testsuite/gcc.target/arm/attr-crypto.c +++ b/gcc/testsuite/gcc.target/arm/attr-crypto.c @@ -3,7 +3,7 @@ pragma. */ /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */ /* { dg-require-effective-target arm_fp_ok } */ -/* { dg-options "-O2 -march=armv8-a" } */ +/* { dg-options "-O2 -march=armv8-a+simd" } */ /* { dg-add-options arm_fp } */ /* Reset fpu to a value compatible with the next pragmas. */ |