http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45997
Summary: __unknown__ type name for typedef'd int
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: [email protected]
ReportedBy: [email protected]
Earlier versions of gcc (e.g. 4.4.3) would emit a DW_TAG_base_type without a
name. svn head emits one with name "__unknown__".
typedef int my_int;
typedef const my_int const_my_int;
typedef volatile const_my_int volatile_const_my_int;
my_int v_my_int (0);
const_my_int v_const_my_int (1);
volatile_const_my_int v_volatile_const_my_int (4);
int
main ()
{
return 0;
}
g++ -g -S -dA foo.cc -o - | grep __unknown__
-->
.long .LASF3 # DW_AT_name: "__unknown__"
.string "__unknown__"