From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16648 invoked by alias); 20 Aug 2015 10:38:06 -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 16635 invoked by uid 89); 20 Aug 2015 10:38:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no 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; Thu, 20 Aug 2015 10:38:04 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id B6DAD8CF4C; Thu, 20 Aug 2015 10:38:03 +0000 (UTC) Received: from redhat.com (ovpn-204-61.brq.redhat.com [10.40.204.61]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7KAbwOl025085 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 20 Aug 2015 06:38:01 -0400 Date: Thu, 20 Aug 2015 10:50:00 -0000 From: Marek Polacek To: Andreas Schwab Cc: Richard Biener , Jeff Law , GCC Patches Subject: Re: [PATCH] Fix middle-end/67133, part 1 Message-ID: <20150820103758.GE2729@redhat.com> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg01189.txt.bz2 On Thu, Aug 20, 2015 at 11:02:17AM +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 Whilst I'm struggling with building cross libgo to reproduce this, is there something like preprocessed source for go? So that ideally I'd just run ./go1 foo.go? That'd help tremendously. Marek