From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id CC4ED385801D for ; Mon, 2 Nov 2020 22:01:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC4ED385801D Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-469-BNus2GkdOZac-BTz2elU1g-1; Mon, 02 Nov 2020 17:01:41 -0500 X-MC-Unique: BNus2GkdOZac-BTz2elU1g-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E46F7800597; Mon, 2 Nov 2020 22:01:40 +0000 (UTC) Received: from [10.10.113.2] (ovpn-113-2.rdu2.redhat.com [10.10.113.2]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7DF5055794; Mon, 2 Nov 2020 22:01:40 +0000 (UTC) Subject: Re: [committed] patch to deal with insn scratches in global RA To: Christophe Lyon Cc: "gcc-patches@gcc.gnu.org" References: <6f1c3f7c-5b40-b177-bfaf-950418a26dc0@redhat.com> From: Vladimir Makarov Message-ID: <660fc448-1e24-df69-8bce-ffccdcd420e7@redhat.com> Date: Mon, 2 Nov 2020 17:01:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <6f1c3f7c-5b40-b177-bfaf-950418a26dc0@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, BODY_8BITS, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: Mon, 02 Nov 2020 22:01:47 -0000 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.