From patchwork Thu Feb 16 00:23: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: 57770 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp13575wrn; Wed, 15 Feb 2023 16:24:29 -0800 (PST) X-Google-Smtp-Source: AK7set9ISB0yBSQZKu4gRaxhANlQrXcOxUxkyq7Lkzmf3X/Rq4Z1WHpIJDlgoWVhSLd93ShYhu7W X-Received: by 2002:aa7:c619:0:b0:4ac:bbdb:462a with SMTP id h25-20020aa7c619000000b004acbbdb462amr3828157edq.14.1676507069099; Wed, 15 Feb 2023 16:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676507069; cv=none; d=google.com; s=arc-20160816; b=UmSzUELCW4XcxaGPGesrsRLwJMoGviSFxHyaIZ6zfs1BJ1PxQTSZEUPpE/pULKttLO hJlP95j00tV91wUn4Yx/woaA7GnqHCy8vRhoBdWlReXbxrTGUY49UNM+sCwbIhjxru4r Cann240xt5mgnZtuv++x6anHFCzlj9iwFf41WgEv3L5rH1gaoBbCJLQ7gYR3X2tJAUfo TPYTEnL68jKFM2fIkN1/jRLB5J+48gIT2ri46LsqzfpXwTz57kxlL3/f3N8E9Xe82Dia SspnDR7u70byN7QYI26tMtijvBv4wE7Jgz55Ikrr6n2Jc8Goi8n+PrI/ztCP1UEwwMVt qO4A== 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=PhrrTEM4Gl+hw3ZXYCz3wmXgOoOAvB+HcjjhOTzNpDY=; b=fae7X8AktgNsY/lxB1F3t7STOIrSGnaXrVNiqq3cFFZxh3dpFKZKCZHvjGcLkB0T2M wynMYowN/hMaeP/QRhNrq7/GDOfqMzQGBvwI+EfTfdN53ZDwWeqWH3+o6bwoeI+FTAPu UIBJRVlQQL8RVwQ/XUEXwv25WN1CPMv+x78fBZUBofrQReapbCvzVShuTocRqr3AxfiK UgDGlMfsWjE3H9LV4/7fVvNyHdkjQePEDnGZm3ZwGEsDxSV8SyUNgomzJKD0DxcPA13E 2z4BHuzRhXe7RWCHJsgtF6gPvVgaHraRcUaQvkkzjiKNeBzZJyTkTKh8thMYgDXwl55m 2egw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=WO4RSDAC; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id u22-20020aa7db96000000b004aaa505ac5fsi361396edt.76.2023.02.15.16.24.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 16:24:29 -0800 (PST) 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=pass header.i=@gcc.gnu.org header.s=default header.b=WO4RSDAC; 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"; 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 192003858423 for ; Thu, 16 Feb 2023 00:24:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 192003858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676507068; bh=PhrrTEM4Gl+hw3ZXYCz3wmXgOoOAvB+HcjjhOTzNpDY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=WO4RSDAC2f8/lpALQhLI/97PVbxYkZNDZfd6KfU1Erfar/gkhRqIz84MdLgXDwMaB NppLnfm5ZDqBs7Q4YkUUYhOsejKGfYFsAqNGPBXLGlkdnRFoU39YeFU6xcaQfTQ622 qbXz26vD5IGLu3KRaROM/N/AQ7yJR/oHypYF0i2E= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by sourceware.org (Postfix) with ESMTPS id 5AEAF3858D33 for ; Thu, 16 Feb 2023 00:23:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5AEAF3858D33 To: Subject: [PATCH] testsuite: Add CRIS to check_effective_target_lra non-LRA list MIME-Version: 1.0 Message-ID: <20230216002334.38B1E2043D@pchp3.se.axis.com> Date: Thu, 16 Feb 2023 01:23:34 +0100 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, 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?1757945076721486644?= X-GMAIL-MSGID: =?utf-8?q?1757945076721486644?= I'd much rather install https://gcc.gnu.org/pipermail/gcc-patches/2023-February/611531.html than this one, because obviously a general solution is better than a target list. But, that would require approval, and I got NAK. This change however, piling on to the target list, is within target maintainer rights. Committed. Also, asking for maintainer reconsideration of the more general solution in the above patch that gets rid of the target list, as reload will stay in gcc-13 (IIUC). -- >8 -- gcc/testsuite: * lib/target-supports.exp (check_effective_target_lra): Add CRIS as a non-LRA target. --- gcc/testsuite/lib/target-supports.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 227e3004077a..f808b4f63714 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -12192,7 +12192,7 @@ proc check_effective_target_o_flag_in_section { } { # return 1 if LRA is supported. proc check_effective_target_lra { } { - if { [istarget hppa*-*-*] } { + if { [istarget hppa*-*-*] || [istarget cris-*-*] } { return 0 } return 1