Message ID | alpine.BSF.2.20.16.2308132212030.11350@arjuna.pair.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b824:0:b0:3f2:4152:657d with SMTP id z4csp2470937vqi; Sun, 13 Aug 2023 19:14:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFHzcalAQvn3lqmENoRJoBrReJiAf4wufwW/IXSULSMQPyG2poaGvl/P+9P+erI2u6B3g1B X-Received: by 2002:a05:6512:230c:b0:4f9:556b:93c5 with SMTP id o12-20020a056512230c00b004f9556b93c5mr7311985lfu.40.1691979256226; Sun, 13 Aug 2023 19:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691979256; cv=none; d=google.com; s=arc-20160816; b=RSMcJR5tuWHipFVvh/FulsISJtkxBqAIDnrH19+6nR9bcFDyKPZyQAcKL/V1dbTTG1 LZjz5cmI8h5hYxnFBPbfpxFySE6GvS5ouF3k6rm+uJcV9e3vO6axfq0CSYF5CQ9sRYyo AdyfmoZHgYQE1AmEOfYSIpnUIVWz6WCK7Z4RlaIGblul1lf286If+yY9/ymPqt6H7i4n gSu+PPJJRK6spS/BjRmLROavVMIkS93b3HYKoUIwDV0u31tytD9wgooPITvcss6avxz4 1vbofYvWvhpPHfRwh4NXqsjXZBNv/gqJbRmDdV/Zi1qWcbl2fhXC67j+gE67LlByNaYX Zhmg== 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:mime-version:user-agent :message-id:subject:to:from:date:dmarc-filter:delivered-to; bh=0mzaBs5bdQ582cAtw5vh4ksH9xt/IVGsrrn5hGPFofs=; fh=XTWpOPe25XFLeKD4Jd9i6rMAakcdzteA0JynWA/injM=; b=XFK1gTddCu7RMbHI7UT7Hh3l9AoxbM0GtciA1dgTENYXSnroeA4HIcYCVTO2nZDUCf jUOkAH4qRrypMKo97nmV3UyA1Z+rXIeiibD+ln0AufhYK4Wg441+00IOd/WKUB1PY4vC Pb/y6HhIVlaeLwpPnkZ/fwxNHZmpROB/Ns9Czb/UnWhwM+08be+fJOR8YA5Bce5SR0Wt OM4dch2xj4YjwG5MluWT3PlkWa1KdweOeNVkxcmlOx5Lcht/FeAGdsY4GuJ4FfFYu2AX fBllXBltEK801V4ag3guyOFcLRBSlbl8QFgt/KpR/MI9HXlTT3Hy0Zt8pcQEUnxJTvoE VByQ== ARC-Authentication-Results: i=1; mx.google.com; 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m1-20020a50ef01000000b005232df72071si7504722eds.404.2023.08.13.19.14.15 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 19:14:16 -0700 (PDT) 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; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 11D5F385843A for <ouuuleilei@gmail.com>; Mon, 14 Aug 2023 02:14:12 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from arjuna.pair.com (arjuna.pair.com [209.68.5.131]) by sourceware.org (Postfix) with ESMTPS id 451193858D39 for <gcc-patches@gcc.gnu.org>; Mon, 14 Aug 2023 02:13:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 451193858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bitrange.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bitrange.com Received: by arjuna.pair.com (Postfix, from userid 3006) id E67EF8A701; Sun, 13 Aug 2023 22:13:46 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by arjuna.pair.com (Postfix) with ESMTP id E5E078A6B0 for <gcc-patches@gcc.gnu.org>; Sun, 13 Aug 2023 22:13:46 -0400 (EDT) Date: Sun, 13 Aug 2023 22:13:46 -0400 (EDT) From: Hans-Peter Nilsson <hp@bitrange.com> X-X-Sender: hp@arjuna.pair.com To: gcc-patches@gcc.gnu.org Subject: [committed] Disable LRA for MMIX. Message-ID: <alpine.BSF.2.20.16.2308132212030.11350@arjuna.pair.com> User-Agent: Alpine 2.20.16 (BSF 172 2016-09-29) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.11 on 209.68.5.131 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, WEIRD_PORT 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774168840391707243 X-GMAIL-MSGID: 1774168840391707243 |
Series |
[committed] Disable LRA for MMIX.
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Hans-Peter Nilsson
Aug. 14, 2023, 2:13 a.m. UTC
Since the change r14-383-gfaf8bea79b6256 "Enable LRA on several ports", mmix has been broken building libstdc++-v3: libtool: compile: /obj/./gcc/xgcc -shared-libgcc -B/obj/./gcc -nostdinc++ -L/obj/mmix/libstdc++-v3/src -L/obj/mmix/libstdc++-v3/src/.libs -L/obj/mmix/libstdc++-v3/libsupc++/.libs -nostdinc -B/obj/mmix/newlib/ -isystem /obj/mmix/newlib/targ-include -isystem /gcctop/newlib/libc/include -B/obj/mmix/libgloss/mmix -L/obj/mmix/libgloss/libnosys -L/gcctop/libgloss/mmix -B/home/hp/tmp/mmix230811-00/pre/mmix/bin/ -B/home/hp/tmp/mmix230811-00/pre/mmix/lib/ -isystem /home/hp/tmp/mmix230811-00/pre/mmix/include -isystem /home/hp/tmp/mmix230811-00/pre/mmix/sys-include -I/gcctop/libstdc++-v3/../libgcc -I/obj/mmix/libstdc++-v3/include/mmix -I/obj/mmix/libstdc++-v3/include -I/gcctop/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=eh_type.lo -g -O2 -c /gcctop/libstdc++-v3/libsupc++/eh_type.cc -o eh_type.o /gcctop/libstdc++-v3/libsupc++/eh_terminate.cc: In function 'void __cxxabiv1::__terminate(std::terminate_handler)': /gcctop/libstdc++-v3/libsupc++/eh_terminate.cc:53:1: error: unable to generate reloads for: 53 | } | ^ (insn 31 36 44 4 (parallel [ (unspec_volatile [ (plus:DI (reg/f:DI 253 $253) (const_int 24 [0x18])) ] 1) (clobber (reg:DI 275)) (clobber (reg:DI 259 rJ)) ]) "/gcctop/libstdc++-v3/libsupc++/eh_terminate.cc":51:3 discrim 1 63 {*nonlocal_goto_receiver_expanded} (expr_list:REG_UNUSED (reg:DI 275) (expr_list:REG_UNUSED (reg:DI 259 rJ) (nil)))) during RTL pass: reload /gcctop/libstdc++-v3/libsupc++/eh_terminate.cc:53:1: internal compiler error: in curr_insn_transform, at lra-constraints.cc:4281 This commit temporarily reverts the MMIX part of r14-383-gfaf8bea79b6256 back to reload. * config/mmix/mmix.cc: Disable LRA for MMIX. --- gcc/config/mmix/mmix.cc | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/gcc/config/mmix/mmix.cc b/gcc/config/mmix/mmix.cc index 347430927499..5160794d9d03 100644 --- a/gcc/config/mmix/mmix.cc +++ b/gcc/config/mmix/mmix.cc @@ -274,6 +274,9 @@ static HOST_WIDE_INT mmix_starting_frame_offset (void); #undef TARGET_PREFERRED_OUTPUT_RELOAD_CLASS #define TARGET_PREFERRED_OUTPUT_RELOAD_CLASS mmix_preferred_output_reload_class +#undef TARGET_LRA_P +#define TARGET_LRA_P hook_bool_void_false + #undef TARGET_LEGITIMATE_ADDRESS_P #define TARGET_LEGITIMATE_ADDRESS_P mmix_legitimate_address_p #undef TARGET_LEGITIMATE_CONSTANT_P