https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55641
Tom Tromey <tromey at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu.org
--- Comment #8 from Tom Tromey <tromey at gcc dot gnu.org> ---
You don't need a typedef:
int x;
int &g(x);
<1><37>: Abbrev Number: 2 (DW_TAG_variable)
<38> DW_AT_name : g
<3a> DW_AT_decl_file : 1
<3b> DW_AT_decl_line : 2
<3c> DW_AT_type : <0x4a>
<40> DW_AT_external : 1
<40> DW_AT_location : 9 byte block: 3 0 0 0 0 0 0 0 0 (DW_OP_addr:
0)
<1><4a>: Abbrev Number: 4 (DW_TAG_const_type)
<4b> DW_AT_type : <0x4f>
[...]