aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2025-03-25 13:48:06 +0000
committerRichard Earnshaw <rearnsha@arm.com>2025-03-25 13:48:06 +0000
commit927cfea902c330092848bd7a228b714b07d08f6b (patch)
treec1349c95997d82f66ceb930e80619047790d02d9 /gcc
parent2f4c5cf2c9bad6a6207b3377cf3179ed00cfcf11 (diff)
downloadgcc-927cfea902c330092848bd7a228b714b07d08f6b.zip
gcc-927cfea902c330092848bd7a228b714b07d08f6b.tar.gz
gcc-927cfea902c330092848bd7a228b714b07d08f6b.tar.bz2
arm: testsuite: avoid dg-options in primary LTO file
As the primary LTO file in this test, it cannot use dg-options. Move the flags from there to dg-lto-options. gcc/testsuite/ChangeLog: * gcc.target/arm/lto/pr96939_0.c (dg-options): Delete. Move the options from here ... (dg-lto-options): ... to here.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/arm/lto/pr96939_0.c3
1 files changed, 1 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 21d2c1d..8dfbc06 100644
--- a/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c
+++ b/gcc/testsuite/gcc.target/arm/lto/pr96939_0.c
@@ -1,8 +1,7 @@
/* PR target/96939 */
/* { dg-lto-do link } */
/* { dg-require-effective-target arm_arch_v8a_link } */
-/* { dg-options "-mcpu=unset -march=armv8-a+simd -mfpu=auto" } */
-/* { dg-lto-options { { -flto -O2 } } } */
+/* { dg-lto-options { { -flto -O2 -mcpu=unset -march=armv8-a+simd -mfpu=auto} } } */
extern unsigned crc (unsigned, const void *);
typedef unsigned (*fnptr) (unsigned, const void *);