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 c/70485] Duplicate typedef results in missing debug info


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.

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