From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 73D8C385702F for ; Thu, 5 Nov 2020 08:53:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 73D8C385702F Received: by mail-ot1-x32f.google.com with SMTP id 32so746547otm.3 for ; Thu, 05 Nov 2020 00:53:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/9+NRRR/0nEetlEHuD/E4tT6vPHaNqvsWI5YLo9WJUY=; b=QAvxbX3PxAzKj70R2KwtbdGf4h1O8jxy34ZoQivVZsEVkJlPHX0P5BGpIWDMGLgPJ8 ypcfdMRQcKDHdAa02jyXY2349QE44bOf811AOXyMmdILXa5BtTIYLwkH8OWN0rl1e7W2 hB6qgKofxBvdvQCVbEEZj6Pm4zQscPcfJm3pxqEL+vRj/6sq61S6vDTxrKMhTvs0ibZG GQM+cF3Z2rNmWfqgc6f90SzHJa/XCaWZyUNm3S42Cwi2mR/Pl6m3Lqlgut3ZCY9kk7hE 8WLvzglIEmcEWi2YfsIXlnt+4Um5Gzpna4hOk6iUy5/BaQnHcC46aEF+knaM5VoZ56on nOaw== X-Gm-Message-State: AOAM530x4geO3gqo3UdnCbQv3zQiufJzTo2k1aSks9Q52AOF2dm5qm1Q XK6WvY4DuPfQRBUUA8TDka3sXU3MMQcz3tm+mp/kjQ== X-Google-Smtp-Source: ABdhPJzg0FKJ83QRtPVLW5GEBNymnC+bYjxmRiAALbQkH/9/cayaGuElbWR8MDFD1R2CJGEj0Ex/IvJLWsGHqLSxd6A= X-Received: by 2002:a9d:2667:: with SMTP id a94mr891263otb.73.1604566420714; Thu, 05 Nov 2020 00:53:40 -0800 (PST) MIME-Version: 1.0 References: <6f1c3f7c-5b40-b177-bfaf-950418a26dc0@redhat.com> <660fc448-1e24-df69-8bce-ffccdcd420e7@redhat.com> In-Reply-To: <660fc448-1e24-df69-8bce-ffccdcd420e7@redhat.com> From: Christophe Lyon Date: Thu, 5 Nov 2020 09:53:30 +0100 Message-ID: Subject: Re: [committed] patch to deal with insn scratches in global RA To: Vladimir Makarov Cc: "gcc-patches@gcc.gnu.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-List-Received-Date: Thu, 05 Nov 2020 08:53:44 -0000 On Mon, 2 Nov 2020 at 23:01, Vladimir Makarov wrote: > > > On 2020-11-02 4:30 p.m., Vladimir Makarov via Gcc-patches wrote: > > > > On 2020-11-02 3:12 p.m., Christophe Lyon wrote: > >> > >> Hi, > >> > >> This patch causes ICEs on arm (eg arm-none-linux-gnueabi) > >> gcc.c-torture/compile/sync-3.c -O1 (internal compiler error) > >> gcc.c-torture/compile/sync-3.c -O2 (internal compiler error) > >> gcc.c-torture/compile/sync-3.c -O2 -flto -fno-use-linker-plugin > >> -flto-partition=none (internal compiler error) > >> gcc.c-torture/compile/sync-3.c -O2 -flto -fuse-linker-plugin > >> -fno-fat-lto-objects (internal compiler error) > >> gcc.c-torture/compile/sync-3.c -O3 -g (internal compiler error) > >> gcc.c-torture/compile/sync-3.c -Os (internal compiler error) > >> > >> gcc.log says: > >> FAIL: gcc.c-torture/compile/sync-3.c -O1 (internal compiler error) > >> PASS: gcc.c-torture/compile/sync-3.c -O1 (test for warnings, line ) > >> FAIL: gcc.c-torture/compile/sync-3.c -O1 (test for excess errors) > >> Excess errors: > >> during RTL pass: ira > >> /gcc/testsuite/gcc.c-torture/compile/sync-3.c:85:1: internal compiler > >> error: Segmentation fault > >> 0xcf8b1f crash_signal > >> /gcc/toplev.c:330 > >> 0xaeb0a0 fix_reg_equiv_init > >> /gcc/ira.c:2671 > >> 0xaf2113 find_moveable_pseudos > >> /gcc/ira.c:4874 > >> 0xaf48e8 ira > >> /gcc/ira.c:5533 > >> 0xaf48e8 execute > >> /gcc/ira.c:5861 > > > > > > Thank you for sending this info. I reproduced the crash with > > x86-64-arm cross-compiler although it is absent on native arm > > environment. I will have a fix tomorrow. > > > > > I've fixed it. > Thanks, I confirm I no longer see this error. Christophe