From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id EBE9C384B046; Thu, 15 Feb 2024 19:08:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EBE9C384B046 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708024131; bh=Tht+/AiARmryoKRSKoBuz+1jJ13f2yAYa8aQTDnLVms=; h=From:To:Subject:Date:From; b=KiYTZAUq1W7TsZUkveBTaabijIazuicSRhlOPT75RJMqoadFTlw7ObkJrvBTAM2FY iJWTF/va/z34Bq9zEH2gBFCQuhlcuAMzQ931+VoZno1NgNP3n3rD7VfKIKWDGqvfWf GmWkHc1VP3913jSIvc9AvYc9WdiGWCVdXpQxCxr4= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-10160] testsuite: Require lra effective target for pr107385.c X-Act-Checkin: gcc X-Git-Author: Jakub Jelinek X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: d2ebd5948bd21f54fdbc5ea99e391be59d0af64c X-Git-Newrev: 7c81fed21c355565182e00bed58375e2f3dcf01c Message-Id: <20240215190851.EBE9C384B046@sourceware.org> Date: Thu, 15 Feb 2024 19:08:51 +0000 (GMT) List-Id: https://gcc.gnu.org/g:7c81fed21c355565182e00bed58375e2f3dcf01c commit r12-10160-g7c81fed21c355565182e00bed58375e2f3dcf01c Author: Jakub Jelinek Date: Thu Feb 15 20:04:01 2024 +0100 testsuite: Require lra effective target for pr107385.c Old reload doesn't support asm goto with output operands. We have lra effective target (though, strangely it returns 0 just for 2 targets out of at least 16 targets with no LRA support), so this patch uses it, similarly how it is done in other asm goto tests with output operands. 2024-02-15 Jakub Jelinek PR middle-end/107385 * gcc.dg/pr107385.c: Require lra effective target. (cherry picked from commit 0d5d1c75f5c68b6064640c3154ae5f4c0b464905) Diff: --- gcc/testsuite/gcc.dg/pr107385.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/pr107385.c b/gcc/testsuite/gcc.dg/pr107385.c index b678f57a3dfc..0cc0655d8483 100644 --- a/gcc/testsuite/gcc.dg/pr107385.c +++ b/gcc/testsuite/gcc.dg/pr107385.c @@ -1,5 +1,5 @@ /* PR middle-end/107385 */ -/* { dg-do run } */ +/* { dg-do run { target lra } } */ /* { dg-options "-O2" } */ __attribute__((noipa)) int