aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2023-11-03 18:11:10 +0000
committerRichard Earnshaw <rearnsha@arm.com>2023-11-13 14:15:56 +0000
commitc034b8f53243175f04935fd653ce15bd7700495c (patch)
treeaee84809fac344266b7c0a21130e0db0b4ec223c
parenta92d0a4126ce40deaa3304213eff9dfd6254a913 (diff)
downloadgcc-c034b8f53243175f04935fd653ce15bd7700495c.zip
gcc-c034b8f53243175f04935fd653ce15bd7700495c.tar.gz
gcc-c034b8f53243175f04935fd653ce15bd7700495c.tar.bz2
arm: testsuite: improve compatibility of pr88648-asm-syntax-unified.c
Fix another test that was trying to set the architecture directly rather than using the infrastructure as intended. gcc/testsuite: * gcc.target/arm/pr88648-asm-syntax-unified.c: It isn't necessary to try to override the architecture flags specified by arm_arch_v7a.
-rw-r--r--gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c b/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
index 251b4d5..53d0bb0 100644
--- a/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
+++ b/gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c
@@ -1,8 +1,8 @@
/* Test for unified syntax assembly generation. */
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v7a_ok } */
+/* { dg-options "-marm -masm-syntax-unified" } */
/* { dg-add-options arm_arch_v7a } */
-/* { dg-options "-marm -march=armv7-a -masm-syntax-unified" } */
void test ()
{