From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1652) id 8A992398D060; Thu, 8 Jul 2021 13:54:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A992398D060 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Christophe Lyon To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2170] testsuite: Add arm_arch_v7a_ok effective-target to pr57351.c X-Act-Checkin: gcc X-Git-Author: Christophe Lyon X-Git-Refname: refs/heads/master X-Git-Oldrev: 43931c97820a8ec9ad01784530ba61332fd87cc8 X-Git-Newrev: 1ca642d785c49e9e0b28651b190720267703f023 Message-Id: <20210708135449.8A992398D060@sourceware.org> Date: Thu, 8 Jul 2021 13:54:49 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2021 13:54:49 -0000 https://gcc.gnu.org/g:1ca642d785c49e9e0b28651b190720267703f023 commit r12-2170-g1ca642d785c49e9e0b28651b190720267703f023 Author: Christophe Lyon 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 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 } */