From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65096 invoked by alias); 17 Apr 2015 23:15:41 -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 65055 invoked by uid 48); 17 Apr 2015 23:15:37 -0000 From: "ian at airs dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65797] [5 regression] IPA ICF causes function to be emitted with no debug line info Date: Fri, 17 Apr 2015 23:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ian at airs dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: hubicka at ucw dot cz X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg01515.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65797 --- Comment #7 from Ian Lance Taylor --- With gold's ICF, as I understand it, there is a function name and file/line information for every function in the backtrace. It may not be the name or the file/line info you expect, but it's there. What broke the Go testcase is that there was no information at all. It's not urgent for Go, by the way, as I've committed a workaround. But I think it would be nice to fix for GCC 5 if possible.