[Bug debug/56805] DW_TAG_typedef missing when -fdebug-types-section is used (and -fno-eliminate-unused-debug-types)

jan.smets@alcatel-lucent.com gcc-bugzilla@gcc.gnu.org
Tue Apr 2 21:28:00 GMT 2013


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

--- Comment #5 from Jan Smets <jan.smets@alcatel-lucent.com> 2013-04-02 21:28:37 UTC ---
-gstrict-dwarf does not disable type sections in GCC 4.6, the result is
unchanged. With 4.8 the behaviour is what you described. 

Is it really that much trouble to add a DW_TAG_typedef to the .debug_type
entry, regardless of -fno-eliminate-unused-types ?  Without it the debug entry
is incomplete, imho. I would really appreciate it. Thanks.



More information about the Gcc-bugs mailing list