]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: testsuite: avoid problems with -mfpu=auto in attr-crypto.c
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 3 Nov 2023 15:27:12 +0000 (15:27 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:55 +0000 (14:15 +0000)
commit825652797cc476bf8253edf894d3926b51cf942e
tree0198a8244d5729eb0e22b5add7babe5416df9e49
parent380f419773077442750ba65568d25bc0627490fe
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.
gcc/testsuite/gcc.target/arm/attr-crypto.c