[Bug debug/57369] type-less DW_TAG_const_type

mark at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 25 11:25:00 GMT 2014


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

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

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

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Replicated with GNU C++ 4.9.0 20140219 (experimental)

 [   219]    typedef
             name                 (strp) "__compar_fn_t"
             decl_file            (data1) 5
             decl_line            (data2) 742
             type                 (ref4) [   225]
 [   225]    pointer_type
             byte_size            (data1) 8
             type                 (ref4) [   22b]
 [   22b]    subroutine_type
             type                 (ref4) [   12b]
             sibling              (ref4) [   23f]
 [   234]      formal_parameter
               type                 (ref4) [   23f]
 [   239]      formal_parameter
               type                 (ref4) [   23f]
 [   23f]    pointer_type
             byte_size            (data1) 8
             type                 (ref4) [   245]
 [   245]    const_type

The DW_TAG_const_type at 245 doesn't have any attributes.

The typedef is defined in /usr/include/stdlib.h as:
typedef int (*__compar_fn_t) (__const void *, __const void *);



More information about the Gcc-bugs mailing list