From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72926 invoked by alias); 24 Aug 2015 15:54:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 72584 invoked by uid 89); 24 Aug 2015 15:54:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 24 Aug 2015 15:54:33 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 7D6C48CF5F; Mon, 24 Aug 2015 15:54:32 +0000 (UTC) Received: from localhost.localdomain (ovpn-113-93.phx2.redhat.com [10.3.113.93]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7OFsV8q030095; Mon, 24 Aug 2015 11:54:31 -0400 Subject: Re: [PATCH] Fix middle-end/67133, part 1 To: Jan-Benedict Glaw , Andreas Schwab References: <55CE002E.6000108@redhat.com> <20150814153224.GU3335@redhat.com> <55CE0A5A.4070802@redhat.com> <20150814195836.GB2093@redhat.com> <55CE5054.5080400@redhat.com> <20150814204649.GC2093@redhat.com> <55D21A8D.50004@redhat.com> <20150818194918.GB2729@redhat.com> <20150823104038.GI24297@lug-owl.de> Cc: Marek Polacek , Richard Biener , GCC Patches From: Jeff Law Message-ID: <55DB3E37.4080408@redhat.com> Date: Mon, 24 Aug 2015 15:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150823104038.GI24297@lug-owl.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg01433.txt.bz2 On 08/23/2015 04:40 AM, Jan-Benedict Glaw wrote: > On Thu, 2015-08-20 11:02:17 +0200, Andreas Schwab wrote: >> Marek Polacek writes: >> >>> PR middle-end/67133 >>> * gimple-ssa-isolate-paths.c >>> (insert_trap_and_remove_trailing_statements): Rename to ... >>> (insert_trap): ... this. Don't remove trailing statements; split >>> block instead. >>> (find_explicit_erroneous_behaviour): Don't remove all outgoing edges. >> >> This breaks go on aarch64: >> >> ../../../libgo/go/encoding/gob/decode.go: In function ‘gob.decIgnoreOpFor.pN20_encoding_gob.Decoder’: >> ../../../libgo/go/encoding/gob/decode.go:843:1: internal compiler error: in operator[], at vec.h:714 >> func (dec *Decoder) decIgnoreOpFor(wireId typeId) decOp { >> ^ >> 0xac5c3b vec::operator[](unsigned int) >> ../../gcc/vec.h:714 >> 0xac5c3b extract_true_false_edges_from_block(basic_block_def*, edge_def**, edge_def**) >> ../../gcc/tree-cfg.c:8456 >> 0xace9bf gimple_verify_flow_info >> ../../gcc/tree-cfg.c:5260 >> 0x6ea1ab verify_flow_info() >> ../../gcc/cfghooks.c:260 >> 0xadeca3 cleanup_tree_cfg_noloop >> ../../gcc/tree-cfgcleanup.c:739 >> 0xadeca3 cleanup_tree_cfg() >> ../../gcc/tree-cfgcleanup.c:788 >> 0x9d21c3 execute_function_todo >> ../../gcc/passes.c:1900 >> 0x9d2b07 execute_todo >> ../../gcc/passes.c:2005 >> "And now for something completely different." > > Not quite. As it seems, it breaks any build: > > configure --prefix=... --disable-multilib --enable-languages=all,ada,go > make > > Seems the Go code triggers this ICE, so you just need to enable Go. Right. Marek is working on the problem. In fact, I think he and Ian have agreed on a patch to the Go front-end to fix this issue. jeff