diff options
author | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2024-11-10 18:02:15 +0100 |
---|---|---|
committer | Torbjörn SVENSSON <torbjorn.svensson@foss.st.com> | 2024-12-12 12:25:19 +0100 |
commit | 95a0c7161277a71e45050e5b562710cf9e1d4d2a (patch) | |
tree | 1fe021dc1c329766bb8a174b793965ee39d55db5 /gcc | |
parent | bdf75257aad299cbad5a62dd10a45139ac3aa369 (diff) | |
download | gcc-95a0c7161277a71e45050e5b562710cf9e1d4d2a.zip gcc-95a0c7161277a71e45050e5b562710cf9e1d4d2a.tar.gz gcc-95a0c7161277a71e45050e5b562710cf9e1d4d2a.tar.bz2 |
testsuite: arm: Use effective-target for pr96939 test
Update test case to use -mcpu=unset/-march=unset feature introduced in
r15-3606-g7d6c6a0d15c.
gcc/testsuite/ChangeLog:
* gcc.target/arm/lto/pr96939_0.c: Use effective-target
arm_arch_v8a.
* gcc.target/arm/lto/pr96939_1.c: Remove dg-options.
Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/lto/pr96939_0.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arm/lto/pr96939_1.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c b/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c index 241ffd5..21d2c1d 100644 --- a/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c +++ b/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c @@ -1,6 +1,7 @@ /* PR target/96939 */ /* { dg-lto-do link } */ -/* { dg-require-effective-target arm_arch_v8a_ok } */ +/* { dg-require-effective-target arm_arch_v8a_link } */ +/* { dg-options "-mcpu=unset -march=armv8-a+simd -mfpu=auto" } */ /* { dg-lto-options { { -flto -O2 } } } */ extern unsigned crc (unsigned, const void *); diff --git a/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c b/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c index 4afdbda..e079ec9 100644 --- a/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c +++ b/gcc/testsuite/gcc.target/arm/lto/pr96939_1.c @@ -1,5 +1,5 @@ /* PR target/96939 */ -/* { dg-options "-march=armv8-a+simd+crc" } */ +/* { dg-options "-mcpu=unset -march=armv8-a+simd+crc -mfpu=auto" } */ #include <arm_acle.h> |