[Bug c/70485] Duplicate typedef results in missing debug info
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 1 08:02:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70485
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Known to work| |6.0
Resolution|--- |FIXED
Known to fail| |4.7.4, 5.3.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
This is fixed in GCC 6 but still broken in GCC 5. GCC 4.5 complained:
t.c:2: error: redefinition of typedef ‘yyx_handle’
t.c:1: error: previous declaration of ‘yyx_handle’ was here
since GCC 4.6 we accept the code and do not emit the typedef in debug info.
Thus not a regression, fixed.
More information about the Gcc-bugs
mailing list