public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26965]  New: Unnecessary debug info for unused consts in C++
@ 2006-03-31 18:18 ian at airs dot com
  2006-03-31 20:05 ` [Bug c++/26965] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: ian at airs dot com @ 2006-03-31 18:18 UTC (permalink / raw)
  To: gcc-bugs

Compile this C++ code with -g

enum x { i = 1 };
class c {
  static const x beg = i;
};
void bar () { }

Looking at the .s output and the readelf --debug-dump output will show that
there is no debug info for x or beg.  This is as expected: they are not used by
any actual code, so there is no need to emit debug info for them.

Now compile this code, which adds an unused inline function:

enum x { i = 1 };
class c {
  static const x beg = i;
  int foo () { return (int) beg; }
};
void bar () { }

Now I see debug info for enum x and for the const beg.  However, there is no
debug info for the unused inline function foo.  There should not be any debug
info for the enum or the const either.

This matters particularly because these cases arise in ordinary C++ code, and
in particular in the libstdc++ headers.  For example, when I compile this file
with -g:

#include <iostream>
void bar () { }

I get over 27K of debug info.  That's pretty bad.

This was better in gcc 4.0.1.  For that, I get 9K of debug info for the
<iostream> example--not great, but much better.  It changed in gcc 4.0.2.  I
believe the change was due to the patch for PR 23190, by RTH on 2005-09-08.

I don't have a patch for this.  I'm recording it so that I don't forget it.


-- 
           Summary: Unnecessary debug info for unused consts in C++
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ian at airs dot com


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
@ 2006-03-31 20:05 ` pinskia at gcc dot gnu dot org
  2006-04-02  8:22 ` pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-31 20:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-31 20:05 -------
This looks very related to PR 14167.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
  2006-03-31 20:05 ` [Bug c++/26965] " pinskia at gcc dot gnu dot org
@ 2006-04-02  8:22 ` pinskia at gcc dot gnu dot org
  2006-04-03  8:07 ` pluto at agmk dot net
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-02  8:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-04-02 08:22 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-04-02 08:22:16
               date|                            |


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
  2006-03-31 20:05 ` [Bug c++/26965] " pinskia at gcc dot gnu dot org
  2006-04-02  8:22 ` pinskia at gcc dot gnu dot org
@ 2006-04-03  8:07 ` pluto at agmk dot net
  2006-04-03 22:57 ` ian at airs dot com
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pluto at agmk dot net @ 2006-04-03  8:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pluto at agmk dot net  2006-04-03 08:07 -------
(In reply to comment #0)

> (...) This is as expected: they are not used by
> any actual code, so there is no need to emit debug info for them.

so, what for is the -feliminate-unused-debug-symbols?


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (2 preceding siblings ...)
  2006-04-03  8:07 ` pluto at agmk dot net
@ 2006-04-03 22:57 ` ian at airs dot com
  2006-04-03 23:02 ` [Bug c++/26965] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: ian at airs dot com @ 2006-04-03 22:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ian at airs dot com  2006-04-03 22:57 -------
-feliminate-unused-debug-symbols only applies to stabs debugging.  I'm talking
about DWARF (which I admit I didn't say explicitly, although my examples were
all for DWARF).

You might reasonably ask about -feliminate-unused-debug-types, which does apply
to DWARF, but that is on by default.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (3 preceding siblings ...)
  2006-04-03 22:57 ` ian at airs dot com
@ 2006-04-03 23:02 ` pinskia at gcc dot gnu dot org
  2006-06-04 18:22 ` mmitchel at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-03 23:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-04-03 23:02 -------
And I just checked this is a regression too.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
      Known to fail|                            |4.1.0
      Known to work|                            |3.4.0
            Summary|Unnecessary debug info for  |[4.0/4.1/4.2 Regression]
                   |unused consts in C++        |Unnecessary debug info for
                   |                            |unused consts in C++
   Target Milestone|---                         |4.0.4


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (4 preceding siblings ...)
  2006-04-03 23:02 ` [Bug c++/26965] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-06-04 18:22 ` mmitchel at gcc dot gnu dot org
  2006-06-06  4:05 ` drow at gcc dot gnu dot org
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 18:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mmitchel at gcc dot gnu dot org  2006-06-04 18:21 -------
Does this have to do with Aldy's patches to make sure that we emit debug
information for types used in casts?


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (5 preceding siblings ...)
  2006-06-04 18:22 ` mmitchel at gcc dot gnu dot org
@ 2006-06-06  4:05 ` drow at gcc dot gnu dot org
  2006-06-06 15:53 ` ian at airs dot com
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: drow at gcc dot gnu dot org @ 2006-06-06  4:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from drow at gcc dot gnu dot org  2006-06-06 04:01 -------
I'm pretty sure it's older than that.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (6 preceding siblings ...)
  2006-06-06  4:05 ` drow at gcc dot gnu dot org
@ 2006-06-06 15:53 ` ian at airs dot com
  2006-07-22 19:39 ` drow at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: ian at airs dot com @ 2006-06-06 15:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ian at airs dot com  2006-06-06 15:42 -------
As I mentioned in the original submission, I'm pretty sure it is caused by
RTH's patch for PR 23190.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (7 preceding siblings ...)
  2006-06-06 15:53 ` ian at airs dot com
@ 2006-07-22 19:39 ` drow at gcc dot gnu dot org
  2006-07-23 17:35 ` ian at airs dot com
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: drow at gcc dot gnu dot org @ 2006-07-22 19:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from drow at gcc dot gnu dot org  2006-07-22 19:39 -------
Ian, could you say why you think that patch is responsible?  I wonder if your
testcase would behave any differently on either side of the patch; it might be
something different taking up all the space.

I think the situation is simpler, and harder to fix.  The debug generators make
decisions based on TREE_USED.  TREE_USED is set in many cases during parsing;
but of course we parse more functions than we necessarily emit.  As long as we
commit to outputing a particular piece of debug information during parsing
we're going to have this problem.

beg gets its mark_used during finish_id_expression, called during parsing of
c::foo.

I don't see any way to solve this without replacing TREE_USED at parse time
with a set of hash tables attached to far too many objects, reporting what each
one would like to have emitted.  But this would be awful for performance and
memory use.  I'm open to better ideas if you have one.

Meanwhile, I do not find it likely that we will fix this for 4.2.


-- 

drow at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drow at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (8 preceding siblings ...)
  2006-07-22 19:39 ` drow at gcc dot gnu dot org
@ 2006-07-23 17:35 ` ian at airs dot com
  2006-08-27 19:03 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: ian at airs dot com @ 2006-07-23 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ian at airs dot com  2006-07-23 17:35 -------
I believe that patch is responsible because this behaviour does not happen in
gcc 4.0.1, and it does happen in gcc 4.0.2, and that was the obvious change.  I
admit that I haven't actually tried reverting that specific patch to see what
happens.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (9 preceding siblings ...)
  2006-07-23 17:35 ` ian at airs dot com
@ 2006-08-27 19:03 ` mmitchel at gcc dot gnu dot org
  2007-02-03 16:27 ` [Bug c++/26965] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-08-27 19:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from mmitchel at gcc dot gnu dot org  2006-08-27 19:02 -------
I agree with Daniel's comments in Comment #9.

The only reliable fix is to commit to unit-at-a-time, always, for all
languages, independent of optimization.  Then, after we decide what to emit
(cgraph), we can know what debugging information to emit.


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2/4.3 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (10 preceding siblings ...)
  2006-08-27 19:03 ` mmitchel at gcc dot gnu dot org
@ 2007-02-03 16:27 ` gdr at gcc dot gnu dot org
  2007-02-03 17:28 ` jsm28 at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 16:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from gdr at gcc dot gnu dot org  2007-02-03 16:27 -------
Won't fix i GCC-4.0.x.  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |---


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2/4.3 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (11 preceding siblings ...)
  2007-02-03 16:27 ` [Bug c++/26965] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-02-03 17:28 ` jsm28 at gcc dot gnu dot org
  2007-02-14  9:12 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2007-02-03 17:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2/4.3 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (12 preceding siblings ...)
  2007-02-03 17:28 ` jsm28 at gcc dot gnu dot org
@ 2007-02-14  9:12 ` mmitchel at gcc dot gnu dot org
  2007-12-16 23:18 ` steven at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.0/4.1/4.2/4.3 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (13 preceding siblings ...)
  2007-02-14  9:12 ` mmitchel at gcc dot gnu dot org
@ 2007-12-16 23:18 ` steven at gcc dot gnu dot org
  2008-07-04 20:23 ` [Bug c++/26965] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-16 23:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from steven at gcc dot gnu dot org  2007-12-16 23:18 -------
Open regression with no activity since February 14.  Ping?


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.2/4.3/4.4 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (14 preceding siblings ...)
  2007-12-16 23:18 ` steven at gcc dot gnu dot org
@ 2008-07-04 20:23 ` jsm28 at gcc dot gnu dot org
  2009-03-11 21:55 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 20:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from jsm28 at gcc dot gnu dot org  2008-07-04 20:23 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
                   |Unnecessary debug info for  |Unnecessary debug info for
                   |unused consts in C++        |unused consts in C++
   Target Milestone|4.1.3                       |4.2.5


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.2/4.3/4.4 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (15 preceding siblings ...)
  2008-07-04 20:23 ` [Bug c++/26965] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-03-11 21:55 ` rguenth at gcc dot gnu dot org
  2009-03-31 19:32 ` [Bug c++/26965] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-03-11 21:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from rguenth at gcc dot gnu dot org  2009-03-11 21:54 -------
Honza, maybe you want to have a look here ...


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.3/4.4/4.5 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (16 preceding siblings ...)
  2009-03-11 21:55 ` rguenth at gcc dot gnu dot org
@ 2009-03-31 19:32 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:33 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 19:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from jsm28 at gcc dot gnu dot org  2009-03-31 19:32 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
                   |Unnecessary debug info for  |Unnecessary debug info for
                   |unused consts in C++        |unused consts in C++
   Target Milestone|4.2.5                       |4.3.4


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.3/4.4/4.5 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (17 preceding siblings ...)
  2009-03-31 19:32 ` [Bug c++/26965] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:33 ` rguenth at gcc dot gnu dot org
  2009-11-13 15:36 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from rguenth at gcc dot gnu dot org  2009-08-04 12:27 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.3/4.4/4.5 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (18 preceding siblings ...)
  2009-08-04 12:33 ` rguenth at gcc dot gnu dot org
@ 2009-11-13 15:36 ` jason at gcc dot gnu dot org
  2009-11-13 17:59 ` jason at gcc dot gnu dot org
  2009-11-13 18:03 ` jason at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-13 15:36 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-04-02 08:22:16         |2009-11-13 15:36:29
               date|                            |
   Target Milestone|4.3.5                       |4.5.0


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.3/4.4/4.5 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (19 preceding siblings ...)
  2009-11-13 15:36 ` jason at gcc dot gnu dot org
@ 2009-11-13 17:59 ` jason at gcc dot gnu dot org
  2009-11-13 18:03 ` jason at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-13 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from jason at gcc dot gnu dot org  2009-11-13 17:59 -------
Subject: Bug 26965

Author: jason
Date: Fri Nov 13 17:59:26 2009
New Revision: 154157

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154157
Log:
        PR debug/26965
        * dwarf2out.c (gen_variable_die): Don't worry about DECL_COMDAT.
        Don't emit a second declaration at any scope.

Added:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/static-data-member2.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug c++/26965] [4.3/4.4/4.5 Regression] Unnecessary debug info for unused consts in C++
  2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
                   ` (20 preceding siblings ...)
  2009-11-13 17:59 ` jason at gcc dot gnu dot org
@ 2009-11-13 18:03 ` jason at gcc dot gnu dot org
  21 siblings, 0 replies; 23+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-11-13 18:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from jason at gcc dot gnu dot org  2009-11-13 18:02 -------
Fixed for 4.5.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-11-13 18:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-31 18:18 [Bug c++/26965] New: Unnecessary debug info for unused consts in C++ ian at airs dot com
2006-03-31 20:05 ` [Bug c++/26965] " pinskia at gcc dot gnu dot org
2006-04-02  8:22 ` pinskia at gcc dot gnu dot org
2006-04-03  8:07 ` pluto at agmk dot net
2006-04-03 22:57 ` ian at airs dot com
2006-04-03 23:02 ` [Bug c++/26965] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-06-04 18:22 ` mmitchel at gcc dot gnu dot org
2006-06-06  4:05 ` drow at gcc dot gnu dot org
2006-06-06 15:53 ` ian at airs dot com
2006-07-22 19:39 ` drow at gcc dot gnu dot org
2006-07-23 17:35 ` ian at airs dot com
2006-08-27 19:03 ` mmitchel at gcc dot gnu dot org
2007-02-03 16:27 ` [Bug c++/26965] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-02-03 17:28 ` jsm28 at gcc dot gnu dot org
2007-02-14  9:12 ` mmitchel at gcc dot gnu dot org
2007-12-16 23:18 ` steven at gcc dot gnu dot org
2008-07-04 20:23 ` [Bug c++/26965] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-03-11 21:55 ` rguenth at gcc dot gnu dot org
2009-03-31 19:32 ` [Bug c++/26965] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:33 ` rguenth at gcc dot gnu dot org
2009-11-13 15:36 ` jason at gcc dot gnu dot org
2009-11-13 17:59 ` jason at gcc dot gnu dot org
2009-11-13 18:03 ` jason at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).