This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/29614] [4.2 Regression] DWARF information for function static variable is missing after unrelated code addition
- From: "sje at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2007 23:52:20 -0000
- Subject: [Bug debug/29614] [4.2 Regression] DWARF information for function static variable is missing after unrelated code addition
- References: <bug-29614-9863@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from sje at gcc dot gnu dot org 2007-03-05 23:52 -------
Subject: Bug 29614
Author: sje
Date: Mon Mar 5 23:52:09 2007
New Revision: 122583
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122583
Log:
Backported from mainline
PR debug/29614
* cgraph.h (cgraph_varpool_last_needed_node): Make global.
* cgraph.c (cgraph_varpool_last_needed_node): Ditto.
* cgraphunit.c (cgraph_varpool_assemble_pending_decls):
Set cgraph_varpool_last_needed_node to NULL.
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/cgraph.c
branches/gcc-4_2-branch/gcc/cgraph.h
branches/gcc-4_2-branch/gcc/cgraphunit.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614