This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/70485] Duplicate typedef results in missing debug info
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 01 Apr 2016 08:02:05 +0000
- Subject: [Bug c/70485] Duplicate typedef results in missing debug info
- Auto-submitted: auto-generated
- References: <bug-70485-4 at http dot gcc dot gnu dot org/bugzilla/>
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.