From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 0955A3858020 for ; Fri, 10 Nov 2023 16:00:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0955A3858020 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 0955A3858020 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.174.156.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699632046; cv=none; b=FWxZeM8FkewDTOi50YNxmpryvNsb4NHYl4sZ+O56Iqy9SagczkhiZKr1PLHB6U1fst+g5gg1U1jLzyf7IRYkdkDcbbua35JMCV6Kfs/Dl8LiPwrIOt6HIUCeEcQTPsROxlleA4/yy/zweGvC+Sku9djqBGFn+VgKpss9DtaLGmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699632046; c=relaxed/simple; bh=17NWkHULy1qxNJO2VSjWLMSRM3GRGaNADwH3rzSNPWc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=X+ADj2y5M1EyYd82zjiPAcJXJCmjqPAJ7oqXKxGS2hXL/1pNSIDKLCBvA3bPUgxtxVy/NRDTczNeOdBaypuecNZQf2uhmv2+NvP/zA6lodGDrQyRWsxH0tks4KiTYE0+hYcDDkN2n7NvJGkycGvFHwku47kUIlqjKUovwb2Vo2g= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jW1ELtfjCb5IunsWEjzIhV6qwn1lVb3Oye5pwUn9Qwc=; b=pbFMRPMYUvWyZuk8YpOC3aAzKk skdexJBPaTmN4b0A6ckNqUOwex9NM1oBrFxXy272FNyvQjjU02pINIK4O7AjNQnHWkK/32Wqzogjn fq4O5G2IgDPWjcPrOvdYc4gXmBWd+UaD52+2djweFnJ4DLuj5dwQmMc2vVLmEXwxkqIQJ9lIIoyc2 3X55kk+1w7DgH960LpJd+L6fFP149Kkl1Z/T2g5cKzcJtdE7rU2JWcDKMWp2TRSdaIBFTf4kGVpKX x8V1DPGpKVe7LUq9bcal77YS1CdrBu//ja7C1dd9W8xmxl9zdits7UgB8AaJnCARSBwRaNDx0u50+ +0sq9tKQ==; Received: from [95.42.20.142] (port=38490 helo=localhost) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r1Tvv-0009HL-0y; Fri, 10 Nov 2023 18:00:38 +0200 Date: Fri, 10 Nov 2023 18:00:36 +0200 From: Dimitar Dimitrov To: Lehua Ding Cc: gcc-patches@gcc.gnu.org, vmakarov@redhat.com, richard.sandiford@arm.com, juzhe.zhong@rivai.ai Subject: Re: [PATCH 0/7] ira/lra: Support subreg coalesce Message-ID: References: <20231108034740.834590-1-lehua.ding@rivai.ai> <410168B51C0395E8+47e6d323-a6cd-425a-9070-d020883798cd@rivai.ai> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <410168B51C0395E8+47e6d323-a6cd-425a-9070-d020883798cd@rivai.ai> 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=-5.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 List-Id: On Fri, Nov 10, 2023 at 04:53:57PM +0800, Lehua Ding wrote: > > > The divide by zero error above is interesting. I'm not sure why > > > ira_reg_class_max_nregs[] yields 0 for the pseudo register 168 in > > > the following rtx: > > > (debug_insn 168 167 169 19 (var_location:SI encoding (reg/v:SI 168 [ > > > encoding ])) -1 > > >       (nil)) > > > > I just cross compiled an arm-none-eabi compiler and didn't encounter > > this error, can you give me a little more config info about build? For > > example, flags_for_target, etc. Thanks again. > > > > Forgot, please also provide the version information of newlib code. > These are the GIT commit hashes which I tested: gcc 39d81b667373b0033f44702a4b532a4618dde9ff binutils c96ceed9dce7617f270aa4742645706e535f74b7 newlib 39f734a857e2692224715b03b99fc7bd83e94a0f This is the script I'm using to build arm-none-eabi: https://github.com/dinuxbg/gnupru/blob/master/testing/manual-build-arm.sh The build steps and config parameters are easily seen there. Note that the Linaro CI is also detecting issues. It hits ICEs when building libgcc: https://patchwork.sourceware.org/project/gcc/patch/20231108034740.834590-8-lehua.ding@rivai.ai/ Regards, Dimitar