From patchwork Thu May 25 18:20:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dimitar Dimitrov X-Patchwork-Id: 99176 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp568409vqr; Thu, 25 May 2023 11:21:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7EVv4L3FX2wK6UkWZYFge4WeV0n5PRU3cXrD4UxPShNWdWrJuoAlRMdfAA9qwH1OodPJpH X-Received: by 2002:a17:907:7f9e:b0:973:7576:bed3 with SMTP id qk30-20020a1709077f9e00b009737576bed3mr2515818ejc.47.1685038901774; Thu, 25 May 2023 11:21:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685038901; cv=none; d=google.com; s=arc-20160816; b=pCfN1hRAW4BIp21JIEHVgEsTQ48szJXRt4lOOs67L0T4lxN3Yddmx0qmPIQGSqPXdN PV9rvQR10SU3jKrnw+Mvhzm6CEZ7Ej7zVb88an22TT2dUmcJTyf/+JsRjnpMn8L+lMv4 Zif0czUftVIGrRdedYRbKwevjlpKYmTZLMpyQdn651rfvl3nbR5zlFHctT9IVEiL+hX8 oy4NRmcbQRfQpeZ7MfVtvnFw3IVIhmDHPYYFyJgRP3qev5dtLufRz0CQ1QWdiPYF/hBv mJ+rxZSszMn++kZhdYx+O21sdia97GoYBr2+pYUWRSNLJfDIxZbIGbbtLyNcfU71CbZO Hbqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=WlBCayeC+a5DdSamXm1rbS7CXkFESz5sd8BpQSaLDM4=; b=V0LHqkcgwCCHM2a8igW99nFEja6fKmNj2VVIDQrIFnVlJ/HYCb9Lv8aL9NEeN9IG0f Rt7y5Zbw1a77edINW5AeXNWTL9TTxnAoMiW43Sn/5oduHP9/x6+qbLDxkterzN+Bnnra s6OGsKeGsct4CULXKT3w3myPySciqB9wud7qq2IS1lBl9kimEruPnaZIoWdV/7vCP2vF vG/GLR+PieBP7z4wcklCoHNqQiWLpV4ic9Loj4h7ej50BtcrPlA/y+Ii+QkQsXgPIpqI Vf1jr0Ps/xs/P3NQ+XCRg3L+ADPT/wsOopGvMSAokbXPs9YiCJBlKrQ8aLxeP3rY50CU tjDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@dinux.eu header.s=default header.b=HZ350Hv2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id c26-20020aa7c75a000000b0050be0b14676si508138eds.648.2023.05.25.11.21.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 11:21:41 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@dinux.eu header.s=default header.b=HZ350Hv2; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A9DCA3857020 for ; Thu, 25 May 2023 18:21:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 0304F3858D37 for ; Thu, 25 May 2023 18:21:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0304F3858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject: Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=WlBCayeC+a5DdSamXm1rbS7CXkFESz5sd8BpQSaLDM4=; b=HZ350Hv2zSYWMtHOoAL6FsMUFj e2nEfJ7XFtCF/uPhys0mA92KEJkCP5MTz3jwzUS/t7ZBPHTl7HVW9Y0PhZUKiXbRPXBZ39b4vtjBr 4giKlU9OPFYnRyBmtaHTMEFWR4mDDeVxlzciTPlaTWJh050StRdUsDOer27JR9p2J8GCawPbmD9Cr Z5W5zimQs9A3iq+XhoEAYFFG+jfH0CsPaEPHAxv1y4i+xgMFbMVUB/Rv5YDUkVbf1EDnQsSztXqcy 6JAxGvXRWaHfB44iSEAml5+BPR36Ss+EceGNgiKB5sheNBY/kB0uksWrgstw2EErVEW6gvxwe6mGu /VJWFCaw==; Received: from [95.42.20.142] (port=44884 helo=kendros.lan) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1q2FaC-0006gj-9X; Thu, 25 May 2023 21:21:07 +0300 From: Dimitar Dimitrov To: gcc-patches@gcc.gnu.org Cc: Dimitar Dimitrov , Martin Uecker Subject: [committed] testsuite: Require trampolines for nestev-vla tests Date: Thu, 25 May 2023 21:20:54 +0300 Message-Id: <20230525182054.587324-1-dimitar@dinux.eu> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766891351178764032?= X-GMAIL-MSGID: =?utf-8?q?1766891351178764032?= Three recent test cases declare nested C functions, so they fail on targets lacking support for trampolines. Fix by adding the necessary filter. Committed as obvious. gcc/testsuite/ChangeLog: * gcc.dg/nested-vla-1.c: Require effective target trampolines. * gcc.dg/nested-vla-2.c: Ditto. * gcc.dg/nested-vla-3.c: Ditto. CC: Martin Uecker Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.dg/nested-vla-1.c | 1 + gcc/testsuite/gcc.dg/nested-vla-2.c | 1 + gcc/testsuite/gcc.dg/nested-vla-3.c | 1 + 3 files changed, 3 insertions(+) diff --git a/gcc/testsuite/gcc.dg/nested-vla-1.c b/gcc/testsuite/gcc.dg/nested-vla-1.c index 5b62c2c213a..d1b3dc3c5f8 100644 --- a/gcc/testsuite/gcc.dg/nested-vla-1.c +++ b/gcc/testsuite/gcc.dg/nested-vla-1.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-std=gnu99" } */ +/* { dg-require-effective-target trampolines } */ int main() diff --git a/gcc/testsuite/gcc.dg/nested-vla-2.c b/gcc/testsuite/gcc.dg/nested-vla-2.c index d83c90a0b16..294b01d370e 100644 --- a/gcc/testsuite/gcc.dg/nested-vla-2.c +++ b/gcc/testsuite/gcc.dg/nested-vla-2.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-std=gnu99" } */ +/* { dg-require-effective-target trampolines } */ int main() diff --git a/gcc/testsuite/gcc.dg/nested-vla-3.c b/gcc/testsuite/gcc.dg/nested-vla-3.c index 1ffb482da3b..d2ba04adab8 100644 --- a/gcc/testsuite/gcc.dg/nested-vla-3.c +++ b/gcc/testsuite/gcc.dg/nested-vla-3.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-options "-std=gnu99" } */ +/* { dg-require-effective-target trampolines } */ int main()