public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/23205] New: [C++] debug info omitted for global variables
@ 2005-08-02 18:43 dpatel at apple dot com
  2005-08-02 18:45 ` [Bug debug/23205] [C++] debug info omitted for global const variables pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dpatel at apple dot com @ 2005-08-02 18:43 UTC (permalink / raw)
  To: gcc-bugs

GCC does not emit debug info for variable 'j' in following example, when stabs debugging format is 
used.

const int j = 4;
int foo ()
{
        return j + 1;
}

int main()
{
        int i;
        i = foo();
        return i;
}

-- 
           Summary: [C++] debug info omitted for global variables
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dpatel at apple dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-09-27 15:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-02 18:43 [Bug debug/23205] New: [C++] debug info omitted for global variables dpatel at apple dot com
2005-08-02 18:45 ` [Bug debug/23205] [C++] debug info omitted for global const variables pinskia at gcc dot gnu dot org
2005-08-02 18:45 ` [Bug debug/23205] [C++] debug info omitted for global static " pinskia at gcc dot gnu dot org
2005-08-02 18:57 ` [Bug c++/23205] [4.0/4.1 Regression] [C++] debug info omitted for global " pinskia at gcc dot gnu dot org
2005-08-02 19:00 ` [Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] " dpatel at apple dot com
2005-08-02 19:02 ` [Bug c++/23205] [4.0/4.1 Regression] [C++/unit-at-a-time] stabs " pinskia at gcc dot gnu dot org
2005-08-13  0:33 ` wilson at gcc dot gnu dot org
2005-08-17 20:44 ` tomas dot vanek at fbl dot cz
2005-08-17 21:08 ` pinskia at gcc dot gnu dot org
2005-09-18  2:18 ` pinskia at gcc dot gnu dot org
2005-09-27 15:58 ` mmitchel 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).