public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/35462]  New: anonymous struct in c++ has wrong name in -gdwarf-2
@ 2008-03-04 20:07 mrs at apple dot com
  2008-03-04 20:15 ` [Bug debug/35462] " mrs at apple dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mrs at apple dot com @ 2008-03-04 20:07 UTC (permalink / raw)
  To: gcc-bugs

typedef struct {
  int x;
} mystruct;
mystruct m;

should either have no name or a name of mystruct in C++.  I see:

        .ascii "<anonymous struct>\0"   ; DW_AT_name

and

        .ascii "$_0\0"  ; external name

This works as expected in C.

Still fails in 20080308.  I think this is target independent.


-- 
           Summary: anonymous struct in c++ has wrong name in -gdwarf-2
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mrs at apple dot com
GCC target triplet: powerpc-apple-darwin9


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


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

* [Bug debug/35462] anonymous struct in c++ has wrong name in -gdwarf-2
  2008-03-04 20:07 [Bug debug/35462] New: anonymous struct in c++ has wrong name in -gdwarf-2 mrs at apple dot com
@ 2008-03-04 20:15 ` mrs at apple dot com
  2009-04-30  7:52 ` jan dot kratochvil at redhat dot com
  2009-04-30 12:46 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mrs at apple dot com @ 2008-03-04 20:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mrs at apple dot com  2008-03-04 20:14 -------
radr://5070293


-- 


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


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

* [Bug debug/35462] anonymous struct in c++ has wrong name in -gdwarf-2
  2008-03-04 20:07 [Bug debug/35462] New: anonymous struct in c++ has wrong name in -gdwarf-2 mrs at apple dot com
  2008-03-04 20:15 ` [Bug debug/35462] " mrs at apple dot com
@ 2009-04-30  7:52 ` jan dot kratochvil at redhat dot com
  2009-04-30 12:46 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-04-30  7:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jan dot kratochvil at redhat dot com  2009-04-30 07:52 -------
Please close it as DUPLICATE of PR debug/35463.


-- 

jan dot kratochvil at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com


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


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

* [Bug debug/35462] anonymous struct in c++ has wrong name in -gdwarf-2
  2008-03-04 20:07 [Bug debug/35462] New: anonymous struct in c++ has wrong name in -gdwarf-2 mrs at apple dot com
  2008-03-04 20:15 ` [Bug debug/35462] " mrs at apple dot com
  2009-04-30  7:52 ` jan dot kratochvil at redhat dot com
@ 2009-04-30 12:46 ` jakub at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-30 12:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-04-30 12:46 -------


*** This bug has been marked as a duplicate of 35463 ***


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2009-04-30 12:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-04 20:07 [Bug debug/35462] New: anonymous struct in c++ has wrong name in -gdwarf-2 mrs at apple dot com
2008-03-04 20:15 ` [Bug debug/35462] " mrs at apple dot com
2009-04-30  7:52 ` jan dot kratochvil at redhat dot com
2009-04-30 12:46 ` jakub 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).