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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45569
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45569&action=edit
gcc9-pr88170.patch

Untested fix.  This patch just reverts the PR87364 change for names in debug
info, and keeps them for the user visible diagnostics.
I believe the C cast convention is better for debug info purposes, it can be
interpreted more easily without figuring out context, and information is lost
in any case, if there are multiple enumerators with the same value, the
compiler will not remember which one was used in the source.

Reply via email to