From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 80482 invoked by alias); 17 Apr 2015 21:29:56 -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 80085 invoked by uid 55); 17 Apr 2015 21:29:52 -0000 From: "ian at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/65797] [5.0 regression] IPA ICF causes function to be emitted with no debug line info Date: Fri, 17 Apr 2015 21:29: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 gcc dot gnu.org 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/msg01497.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65797 --- Comment #2 from ian at gcc dot gnu.org --- Author: ian Date: Fri Apr 17 21:29:20 2015 New Revision: 222200 URL: https://gcc.gnu.org/viewcvs?rev=222200&root=gcc&view=rev Log: PR go/64683 runtime/pprof: Assume function with no name is in runtime. GCC PR 65797 causes some of the runtime functions to be compiled with no name in the debug info. This in turn causes the runtime/pprof test to fail as reported in GCC PR 64683. There are no good choices when a function has no name in the debug info, but here we assume that if we see such a function while reading the runtime functions, we assume that it is also a runtime function. Modified: trunk/libgo/go/runtime/pprof/pprof.go