From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2941 invoked by alias); 16 Oct 2014 16:14:50 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2923 invoked by uid 89); 16 Oct 2014 16:14:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: atrey.karlin.mff.cuni.cz Received: from atrey.karlin.mff.cuni.cz (HELO atrey.karlin.mff.cuni.cz) (195.113.26.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Oct 2014 16:14:48 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 4018) id 12D3381C97; Thu, 16 Oct 2014 18:14:45 +0200 (CEST) Date: Thu, 16 Oct 2014 16:14:00 -0000 From: Jan Hubicka To: "jakub at gcc dot gnu.org" Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug lto/63546] ICE: Segmentation fault in lto_get_decl_name_mapping on ppc64 Message-ID: <20141016161445.GD11581@atrey.karlin.mff.cuni.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg01288.txt.bz2 > > Commenting that out will severely decrease debug info quality. It was meant as a workaround for PPC Firefox builds ;) > Yes, dwarf2out really needs a RTL for those, and some that will not affect > -fcompare-debug, with the right (mangled?) name of the var and various other > attributes on the MEM. Why are those needed for variables that was fully optimized out? Mangled name is acccessible via DECL_ASSEMBLER_NAME, so it may be prettier if dwarf2out took it directly from DECL rather than going to RTL. I suppose one can bypass the whole ancros machinery for those and avoid the ICE. Produced RTL however won't be useful for any real work on it. Honza