This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/7580] incorrect/unfortunate DWARF-2 info for static const int class members


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia@physics.uc.edu changed:

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


------- Additional Comments From pinskia@physics.uc.edu  2003-06-07 23:14 -------
With the mainline (2003-06-06-cvs) gdb and the mainline gcc (20030607) and 3.3.1 gcc 
(20030526), I get 

(gdb) p C::foo
static field foo has been optimized out

but with gdb (5.1.90CVS-3) I get the error reported in the bug.

So this looks like a gdb bug, not a gcc one, so closing as fixed because it is fixed in the 
mainline of gdb.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]