[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2007-02-23 Thread sje at gcc dot gnu dot org


--- Comment #5 from sje at gcc dot gnu dot org  2007-02-24 00:11 ---
Subject: Bug 29614

Author: sje
Date: Sat Feb 24 00:11:39 2007
New Revision: 122277

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=122277
Log:
PR debug/29614
* varpool.c (varpool_assemble_pending_decls):  Set
varpool_last_needed_node to null.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/varpool.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614



[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2007-02-20 Thread patchapp at dberlin dot org


--- Comment #4 from patchapp at dberlin dot org  2007-02-20 21:40 ---
Subject: Bug number PR debug/29614

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg01728.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614



[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2007-02-19 Thread mmitchel at gcc dot gnu dot org


-- 

mmitchel at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614



[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2006-12-21 Thread sje at cup dot hp dot com


--- Comment #2 from sje at cup dot hp dot com  2006-12-21 23:20 ---
This bug only occurs when NOT in -funit-at-a-time mode.  Is there a plan to
switch all front-ends to unit-at-a-time compilation (which will fix this bug)
or is it still worth coming up with a fix for NON unit-at-a-time usage?  The
problem seems to be when moving declarations from the varpool_nodes_queue to
the varpool_assembled_nodes_queue in varpool_assemble_pending_decls
(varpool.c).  This routine gets called multiple times with a decl and we wind
up putting a declaration on the varpool_assembled_nodes_queue multiple times,
messing up the next_needed links in this linked list.


-- 

sje at cup dot hp dot com changed:

   What|Removed |Added

 CC||sje at cup dot hp dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614



[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2006-12-21 Thread hubicka at ucw dot cz


--- Comment #3 from hubicka at ucw dot cz  2006-12-22 00:54 ---
Subject: Re:  [4.2/4.3 Regression] DWARF information for function static
variable is missing after unrelated code addition

Hi,
Even if all frontends can do unit-at-a-time, non-unit-at-a-time is,
sadly, still essential for Java.  For Java it is common to do link-time
optimizations and our memory consumption with unit-at-a-time is too
large for this.  So fixing it is desirable.  Thank you for looking into
this!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614



[Bug debug/29614] [4.2/4.3 Regression] DWARF information for function static variable is missing after unrelated code addition

2006-10-28 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-10-28 18:49 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  GCC build triplet|i686-pc-linux-gnu   |
   GCC host triplet|i686-pc-linux-gnu   |
   Keywords||wrong-debug
   Last reconfirmed|-00-00 00:00:00 |2006-10-28 18:49:28
   date||
Summary|DWARF information for   |[4.2/4.3 Regression] DWARF
   |function static variable is |information for function
   |missing after unrelated code|static variable is missing
   |addition|after unrelated code
   ||addition
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29614