From patchwork Fri Mar 10 22:52:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans-Peter Nilsson X-Patchwork-Id: 67827 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp9186wrd; Fri, 10 Mar 2023 14:53:20 -0800 (PST) X-Google-Smtp-Source: AK7set907LNOJYjJXuBH9TTcLOcvZIZwu3p6IWwRGLViesn9oaB8Q0d8XG6QSyqkyGc5H/HG7/2j X-Received: by 2002:aa7:d8c9:0:b0:4ae:e51e:6956 with SMTP id k9-20020aa7d8c9000000b004aee51e6956mr25849088eds.13.1678488800473; Fri, 10 Mar 2023 14:53:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678488800; cv=none; d=google.com; s=arc-20160816; b=nhaUl0B271bvQLLn63c1AcsCzQK/uxP9wIowmROWTnh2r738kKVGOk84gvwvoiqz2/ lmhPCPxD3Aq1rilUxEZmHWbeF7fLGqlSS+DsiXBInV1DSZat79heMWq9f995781oSYx8 d3KIh4XrU4Y0bb/KapXSskP1iMr5OWLscTDF036A4zr/uCR4vvYMKnUWqc4rHZvoT66C qnfuZOMb4nGcJZbOLlD+kEpyu4xmAh9hBCBwM9arqy/eZZxsyeQMlhqifHik25G57a5w iyCfFKZqdmqw95jvhhHZHy6YGTclIJ0+HKus3IYi5K3jY1QjgIzriP2NRxZ7FcKlRGtr RuKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:date:message-id :content-transfer-encoding:mime-version:subject:to:dmarc-filter :delivered-to:dkim-signature:dkim-filter; bh=eJsquVFsRxEolagHr8kFLiLZeRJWZhxtzrwyj+iT0to=; b=v1Wim2qo3MeAGlj9XC0hQqvvb7ly3utxyjv1XKOeon3OQcwt42suaWBnBX/DZiTkTv gPt9el5IgnMdhywqVLOPhM9+QBORcpNe4ga5b5MMFDJgct6IGT18qUPrY7UIS04yFeeB mj+BUBatW8vo+3dS9jgJhd2UNeIdssNONDQ8EgGwq0J7XLTung8yyX1rxZ05rEfZs6ks Qr32MFpygTzORJv2B7Q4ifajpnojwTDUM9vyCNTmn46shegBnrkRRIxSp88eb4LlvDu5 QaHF1QZXCk35a1aNHdRui6nKPHVj1SxPHmsjfJuMAjUPPBylAz2GnI3FP8nuQvhC2IWb vCfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AWgrPW6U; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id s16-20020a056402165000b004c0e614f887si1173316edx.94.2023.03.10.14.53.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 14:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=AWgrPW6U; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 46D0738582BE for ; Fri, 10 Mar 2023 22:53:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46D0738582BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678488799; bh=eJsquVFsRxEolagHr8kFLiLZeRJWZhxtzrwyj+iT0to=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=AWgrPW6Umb2L/r7LDMGfTYpx5aufWN7Zp1csnY0KNPbi1fH2bU2YgtgpHuUSUuShl 3DThmM1Yg8m6tmks8tNpTIoW9I6ALQSD/fs0b8vwyrPNbzETYX5OcrUn5WEn1JDrr+ 03NPkwnmQIPH1xY2jFo9VIE7SP7j1ZKRWTJdzS10= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by sourceware.org (Postfix) with ESMTPS id 6C6973857C48 for ; Fri, 10 Mar 2023 22:52:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6C6973857C48 To: Subject: [committed] testsuite: gcc.dg/pr108117.c: Require effective-target scheduling MIME-Version: 1.0 Message-ID: <20230310225234.F162720417@pchp3.se.axis.com> Date: Fri, 10 Mar 2023 23:52:34 +0100 X-Spam-Status: No, score=-11.2 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 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: , X-Patchwork-Original-From: Hans-Peter Nilsson via Gcc-patches From: Hans-Peter Nilsson Reply-To: Hans-Peter Nilsson 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?1760023072531976508?= X-GMAIL-MSGID: =?utf-8?q?1760023072531976508?= Committed as obvious. -- >8 -- Targets that don't support scheduling get a warning: cc1: warning: instruction scheduling not supported on this target machine Do like other target-generic tests unconditionally passing -fschedule-insns: require effective target scheduling. * gcc.dg/pr108117.c: Require effective-target scheduling. --- gcc/testsuite/gcc.dg/pr108117.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/pr108117.c b/gcc/testsuite/gcc.dg/pr108117.c index ae151693e2f9..4b3bebe229e5 100644 --- a/gcc/testsuite/gcc.dg/pr108117.c +++ b/gcc/testsuite/gcc.dg/pr108117.c @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target nonlocal_goto } */ +/* { dg-require-effective-target scheduling } */ /* { dg-options "-O2 -fschedule-insns" } */ #include