]> gcc.gnu.org Git - gcc.git/commitdiff
arm: testsuite: tidy up pr65647-2.c pre-checks.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 3 Nov 2023 17:48:40 +0000 (17:48 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 13 Nov 2023 14:15:55 +0000 (14:15 +0000)
Another case where we can make better use of the infrastructure to
improve the compatibility of this test.

gcc/testsuite:

* gcc.target/arm/pr65647-2.c: Use dg-add-options to manage target
flags.

gcc/testsuite/gcc.target/arm/pr65647-2.c

index e3978e512eaa80257c9ed4fb6b27897d882d4d6d..79637bfd9d74ad0490406975ffd7fa5112f57e70 100644 (file)
@@ -1,6 +1,7 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_arch_v6_arm_ok } */
-/* { dg-options "-O3 -marm -march=armv6 -std=c99" } */
+/* { dg-options "-O3 -std=c99" } */
+/* { dg-add-options arm_arch_v6_arm } */
 
 typedef struct {
   int i;
This page took 0.066615 seconds and 5 git commands to generate.