]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm: testsuite: improve compatibility of pr88648-asm-syntax-unified.c
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 3 Nov 2023 18:11:10 +0000 (18:11 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:56 +0000 (14:15 +0000)
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.

gcc/testsuite/gcc.target/arm/pr88648-asm-syntax-unified.c

index 251b4d5bc9d5cecbe7e8e4da033514e02b09a515..53d0bb053fcbfbb3a219f50d8c61af7ff1e5bb07 100644 (file)
@@ -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 ()
 {