public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2170] testsuite: Add arm_arch_v7a_ok effective-target to pr57351.c
@ 2021-07-08 13:54 Christophe Lyon
0 siblings, 0 replies; only message in thread
From: Christophe Lyon @ 2021-07-08 13:54 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:1ca642d785c49e9e0b28651b190720267703f023
commit r12-2170-g1ca642d785c49e9e0b28651b190720267703f023
Author: Christophe Lyon <christophe.lyon@foss.st.com>
Date: Wed Jun 30 13:47:07 2021 +0000
testsuite: Add arm_arch_v7a_ok effective-target to pr57351.c
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.
Diff:
---
gcc/testsuite/gcc.dg/debug/pr57351.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gcc/testsuite/gcc.dg/debug/pr57351.c b/gcc/testsuite/gcc.dg/debug/pr57351.c
index 972f3e9ebec..236d74ddedb 100644
--- a/gcc/testsuite/gcc.dg/debug/pr57351.c
+++ b/gcc/testsuite/gcc.dg/debug/pr57351.c
@@ -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 } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-08 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:54 [gcc r12-2170] testsuite: Add arm_arch_v7a_ok effective-target to pr57351.c Christophe Lyon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).