From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2152) id 0964B3858D20; Wed, 8 Feb 2023 20:45:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0964B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675889100; bh=+2nqRS9HqOvWkChyUoFEzAN2l1A0J3PhkSWm/rWtjMU=; h=From:To:Subject:Date:From; b=WysYiyzSRwFvC754y3b4vwo1Vt6fOglpPa4zfTEvSa4n3nSsKRMjPjBJfLuPKZiEC 0kSr9YsOHTtQ5J1H3erj+PBRsjLuKVP2oSk1CGQId64j2CUlcvJO5BNFCYfQ9JHtyK 3KzPS6ya/5aSi0UB2oGG85fjEhw4vUkEFW29sC5g= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Hans-Peter Nilsson To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5746] testsuite: Fix asm-goto-with-outputs tests; limit to lra targets X-Act-Checkin: gcc X-Git-Author: Hans-Peter Nilsson X-Git-Refname: refs/heads/master X-Git-Oldrev: 77bb54b1b07add45007c664724b726541d672ef3 X-Git-Newrev: 70888d0982d9c4df4f74cd6f06f943778af1d1eb Message-Id: <20230208204500.0964B3858D20@sourceware.org> Date: Wed, 8 Feb 2023 20:45:00 +0000 (GMT) List-Id: https://gcc.gnu.org/g:70888d0982d9c4df4f74cd6f06f943778af1d1eb commit r13-5746-g70888d0982d9c4df4f74cd6f06f943778af1d1eb Author: Hans-Peter Nilsson Date: Tue Feb 7 19:46:29 2023 +0100 testsuite: Fix asm-goto-with-outputs tests; limit to lra targets These tests spuriously lacked a "lra" limiter. Code using "asm goto" with outputs gets a: error: the target does not support 'asm goto' with outputs in 'asm' compilation error when compiled for a non-LRA target. Limit to LRA targets as other asm-goto-with-outputs tests. * gcc.dg/torture/pr100398.c: Limit to lra targets. * gcc.dg/pr100590.c: Ditto. Diff: --- gcc/testsuite/gcc.dg/pr100590.c | 2 +- gcc/testsuite/gcc.dg/torture/pr100398.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.dg/pr100590.c b/gcc/testsuite/gcc.dg/pr100590.c index 5cd36877fa1..8d1e1a0d306 100644 --- a/gcc/testsuite/gcc.dg/pr100590.c +++ b/gcc/testsuite/gcc.dg/pr100590.c @@ -1,5 +1,5 @@ /* PR rtl-optimization/100590 */ -/* { dg-do compile } */ +/* { dg-do compile { target lra } } */ /* { dg-options "-O1 -fno-dce -w" } */ int diff --git a/gcc/testsuite/gcc.dg/torture/pr100398.c b/gcc/testsuite/gcc.dg/torture/pr100398.c index 41eaddee27e..4fc1168d22f 100644 --- a/gcc/testsuite/gcc.dg/torture/pr100398.c +++ b/gcc/testsuite/gcc.dg/torture/pr100398.c @@ -1,4 +1,4 @@ -/* { dg-do compile } */ +/* { dg-do compile { target lra } } */ int test5_limit (void)