https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61755
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Looks fine on the trunk and in GCC 7.5.0.
<2><50>: Abbrev Number: 3 (DW_TAG_variable)
<51> DW_AT_name : g
<53> DW_AT_decl_file : 1
<54> DW_AT_decl_line : 7
<55> DW_AT_decl_column : 15
<56> DW_AT_type : <0x6a>
<5a> DW_AT_location : 2 byte block: 91 68 (DW_OP_fbreg: -24)
<1><5e>: Abbrev Number: 4 (DW_TAG_base_type)
<5f> DW_AT_byte_size : 4
<60> DW_AT_encoding : 5 (signed)
<61> DW_AT_name : int
<1><65>: Abbrev Number: 5 (DW_TAG_subroutine_type)
<66> DW_AT_type : <0x5e>
<1><6a>: Abbrev Number: 6 (DW_TAG_reference_type)
<6b> DW_AT_byte_size : 8
<6c> DW_AT_type : <0x65>