]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Add arm_arch_v7a_ok effective-target to pr57351.c
authorChristophe Lyon <christophe.lyon@foss.st.com>
Wed, 30 Jun 2021 13:47:07 +0000 (13:47 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Thu, 8 Jul 2021 13:54:10 +0000 (13:54 +0000)
I've noticed that overriding cpu/arch flags when running the testsuite
can cause this test to fail rather than being skipped because of
incompatible flags combination.

Since the test forces -march=armv7-a, make sure it is accepted in
combination with the current runtestflags.

2021-07-08  Christophe Lyon  <christophe.lyon@foss.st.om>

gcc/testsuite/
* gcc.dg/debug/pr57351.c: Require arm_arch_v7a_ok
effective-target.

gcc/testsuite/gcc.dg/debug/pr57351.c

index 972f3e9ebecc703d66afe5e801c7e3ca796ffe56..236d74ddedb1ce559ad78cd5fc0a7ab0ee329d04 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-require-effective-target arm_neon }  */
+/* { dg-require-effective-target arm_arch_v7a_ok }  */
 /* { dg-options "-std=c99 -Os -g -march=armv7-a" } */
 /* { dg-add-options arm_neon } */