http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16063
Tom Tromey <tromey at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu.org --- Comment #5 from Tom Tromey <tromey at gcc dot gnu.org> 2012-06-29 13:50:49 UTC --- DWARF 4 allows this: The enumeration type entry may have a DW_AT_type attribute which refers to the underlying data type used to implement the enumeration. I think this is definitely needed for "enum class", where the base type can be specified by the user. However, emitting it unconditionally wouldn't hurt.