From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=axis.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=axis.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1676507017; x=1708043017; h=from:to:subject:mime-version:content-transfer-encoding: message-id:date; bh=PhrrTEM4Gl+hw3ZXYCz3wmXgOoOAvB+HcjjhOTzNpDY=; b=ef9xkBqlbOqPVYZRa8rwW4EYPGwOs8Kn8g/vMRZ8qLG9YEH+OU9+aSFt gYviK4l/G5RP1Rdv5SVc2rrZUQgi1lyhA/jkoEyaCnGRHFaUod8lnRIT7 XDu63eJPqE3sBihDSGDtmvOJMak867eqZDTJW2IVobtmiYdRncFN6cD2y wlc4zxsr67hLJN0xQCzfBq0wR11QROInwmWWFpyC6fWbaOgI5VbcXJBSl NXKDeIhclNhNfRHMcONol5SOF1EbJzlZvbH5/T3+HZ+9w+PlTQD9Yl9wj lBcxPEPhBtOLjniovNWTkc1BSpB9JPaFwW694WC09ZGJeX/4CAjAmODWg w==; From: Hans-Peter Nilsson To: Subject: [PATCH] testsuite: Add CRIS to check_effective_target_lra non-LRA list MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT 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 List-Id: 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 -- 2.30.2