public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/54774] New: insufficient debug info for strong typed enum
@ 2012-10-02  0:39 chihin.ko at oracle dot com
  2012-10-02 10:53 ` [Bug debug/54774] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: chihin.ko at oracle dot com @ 2012-10-02  0:39 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 54774
           Summary: insufficient debug info for strong typed enum
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: chihin.ko@oracle.com


Created attachment 28320
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28320
compileable c++ test case and dwarf dump

For strong typed enum, there is no  type information:

#include <iostream>

enum UI: unsigned int
{
        None = 0,
        Single = 1,
        Multiple = 0xFFFF0000U
};

 <1><26aa>: Abbrev Number: 69 (DW_TAG_enumeration_type)
     DW_AT_name        : UI
     DW_AT_byte_size   : 4
     DW_AT_decl_file   : 1
     DW_AT_decl_line   : 3
     DW_AT_sibling     : <26cc>

  Should have a DW_AT_type : <unsigned int type> under DW_TAG_enumeration_type


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

end of thread, other threads:[~2014-06-25 18:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02  0:39 [Bug debug/54774] New: insufficient debug info for strong typed enum chihin.ko at oracle dot com
2012-10-02 10:53 ` [Bug debug/54774] " jakub at gcc dot gnu.org
2012-11-23 14:50 ` paolo.carlini at oracle dot com
2012-12-06 19:58 ` [Bug debug/54774] [4.4.4, 4.5, 4.6, 4.7] " chihin.ko at oracle dot com
2012-12-06 20:39 ` [Bug debug/54774] " jakub at gcc dot gnu.org
2012-12-07  0:11 ` paolo.carlini at oracle dot com
2014-03-24 14:32 ` mark at gcc dot gnu.org
2014-06-25 18:55 ` tromey at gcc dot gnu.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).