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/60833] Inheritance via typedef skips the typedef


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

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Confirmed with GNU C++ 4.10.0 20140417 (experimental). GCC doesn't emit the
typedef for tbase because it is unused. It will emit the typedef for tbase when
it is used for a variable like tbase y. But even then it will optimize out the
typedef from the inherentence tree and make the DW_TAG_inherentence tag
DW_AT_type attribute of the derived struct DIE point directly to the struct
base type DIE.


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