From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by sourceware.org (Postfix) with ESMTPS id E6D903857C42 for ; Fri, 14 Aug 2020 09:21:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E6D903857C42 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: sourceware.org; spf=none smtp.mailfrom=hubicka@kam.mff.cuni.cz Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 91F5F280878; Fri, 14 Aug 2020 11:21:20 +0200 (CEST) Date: Fri, 14 Aug 2020 11:21:20 +0200 From: Jan Hubicka To: Christophe Lyon Cc: Jakub Jelinek , gcc Patches , Richard Biener Subject: Re: Backporting streaming and enum changes Message-ID: <20200814092120.GE56176@kam.mff.cuni.cz> References: <20200806143439.GB82935@kam.mff.cuni.cz> <20200814091520.GD56176@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200814091520.GD56176@kam.mff.cuni.cz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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: Fri, 14 Aug 2020 09:21:25 -0000 > Hi, > > > > Since this was backported as r10-8623-g0d96c3424bbb5e5f994b78c8f65d8704d215be54, > > Yes, after discussion with Jakub on IRC. > > I've noticed ICEs on arm and aarch64: > > gcc.dg/pr34457-1.c (internal compiler error) > > gcc.dg/torture/pr92088-1.c -O2 -flto -fno-use-linker-plugin > > -flto-partition=none (internal compiler error) > > gcc.dg/torture/pr92088-1.c -O2 -flto -fuse-linker-plugin > > -fno-fat-lto-objects (internal compiler error) > > > > I can see: > > Excess errors: > > during IPA pass: cp > > lto1: internal compiler error: in operator[], at vec.h:878 > > 0xa0a5d7 vec::operator[](unsigned int) > > /gcc/vec.h:878 > > 0xa0a5d7 vec::operator[](unsigned int) > > /gcc/vec.h:1444 > > 0xa194d3 vec::operator[](unsigned int) > > /gcc/tree.h:3408 > > 0xa194d3 lto_symtab_encoder_deref > > /gcc/lto-streamer.h:1173 > > 0xa194d3 ipa_prop_read_section > > /gcc/ipa-prop.c:5060 > > 0xa194d3 ipa_prop_read_jump_functions() > > /gcc/ipa-prop.c:5089 > > 0xb6ba71 ipa_read_summaries_1 > > /gcc/passes.c:2837 > > 0x6bc4b5 read_cgraph_and_symbols(unsigned int, char const**) > > /gcc/lto/lto-common.c:2921 > > 0x69deb2 lto_main() > > /gcc/lto/lto.c:625 > > > > The tests pass on trunk. > > I will check this out. I seem to remember that we fixed the issue on > mainline. It was extra zero byte streaming, I will dig it out. Found it, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95362 I will backport the patch shortly. Sorry for the breakage - it is quite impressive that we do not have non-trivial SCC streamed in the distro bootstrap. Honza > > Honza > > > > Christophe > > > Thanks, > > > Richard. > > > > > > > Honza > > > > > > > > > > -- > > > Richard Biener > > > SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, > > > Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)