[Bug debug/54774] insufficient debug info for strong typed enum

mark at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 24 14:32:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54774

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #6 from Mark Wielaard <mark at gcc dot gnu.org> ---
I think this is a duplicate of PR debug/16063.

With the proposed patch for that applied the debuginfo for the UI enum looks
like:

 [  243e]    enumeration_type
             name                 (string) "UI"
             byte_size            (data1) 4
             type                 (ref4) [  2463]
             decl_file            (data1) 1
             decl_line            (data1) 3
             sibling              (ref4) [  2463]
 [  244d]      enumerator
               name                 (strp) "None"
               const_value          (data1) 0
 [  2453]      enumerator
               name                 (strp) "Single"
               const_value          (data1) 1
 [  2459]      enumerator
               name                 (strp) "Multiple"
               const_value          (data4) 4294901760
 [  2463]    base_type
             byte_size            (data1) 4
             encoding             (data1) unsigned (7)



More information about the Gcc-bugs mailing list