[Bug sanitizer/71611] UBSan shows type '<unknown>' for anonymous named enum is not useful, should should show where the enum was defined

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 16 05:00:10 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71611

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2023-01-16
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |diagnostic
            Summary|UBSan shows type            |UBSan shows type
                   |'<unknown>' for enums based |'<unknown>' for anonymous
                   |on long                     |named enum is not useful,
                   |                            |should should show where
                   |                            |the enum was defined

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #1)
> Would you prefer <anonymous enum> instead or <anonymous enum at file:line>?

Yes I would at least.


More information about the Gcc-bugs mailing list