From 1ca642d785c49e9e0b28651b190720267703f023 Mon Sep 17 00:00:00 2001 From: Christophe Lyon Date: Wed, 30 Jun 2021 13:47:07 +0000 Subject: [PATCH] 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 gcc/testsuite/ * gcc.dg/debug/pr57351.c: Require arm_arch_v7a_ok effective-target. --- 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 972f3e9ebecc..236d74ddedb1 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 } */ -- 2.47.3