https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80914

--- Comment #3 from Steven Noonan <steven at uplinklabs dot net> ---
This is from a different go.gcc binary, because I've rebuilt several times to
try and troubleshoot. But this one still exhibits the bad behavior. Just in
case, I've uploaded a copy of the binary, the entire 'readelf --debug=info'
output, and the current gdb output:

https://www.uplinklabs.net/files/gcc-pr80914/gcc-go-debug-info.txt
https://www.uplinklabs.net/files/gcc-pr80914/gdb.txt
https://www.uplinklabs.net/files/gcc-pr80914/go.gcc.gz


Here's 'tail -n 30' of the gcc-go-debug-info.txt from above:

    <2338a>   DW_AT_location    : 2 byte block: 91 60   (DW_OP_fbreg: -32)      
 <2><2338d>: Abbrev Number: 0                                                   
 <1><2338e>: Abbrev Number: 7 (DW_TAG_pointer_type)                             
    <2338f>   DW_AT_byte_size   : 8                                             
    <23390>   DW_AT_type        : <0x22f27>                                     
 <1><23394>: Abbrev Number: 43 (DW_TAG_subprogram)                              
    <23395>   DW_AT_name        : (indirect string, offset: 0x32231):
base_of_encoded_value                          
    <23399>   DW_AT_decl_file   : 1                                             
    <2339a>   DW_AT_decl_line   : 101                                           
    <2339b>   DW_AT_prototyped  : 1                                             
    <2339b>   DW_AT_type        : <0x22e30>                                     
    <2339f>   DW_AT_low_pc      : 0x4bc54a                                      
    <233a7>   DW_AT_high_pc     : 0x83                                          
    <233af>   DW_AT_frame_base  : 1 byte block: 9c      (DW_OP_call_frame_cfa)  
    <233b1>   DW_AT_GNU_all_tail_call_sites: 1
 <2><233b1>: Abbrev Number: 28 (DW_TAG_formal_parameter)
    <233b2>   DW_AT_name        : (indirect string, offset: 0x3216f): encoding
    <233b6>   DW_AT_decl_file   : 1
    <233b7>   DW_AT_decl_line   : 101
    <233b8>   DW_AT_type        : <0x22a32>
    <233bc>   DW_AT_location    : 2 byte block: 91 6c   (DW_OP_fbreg: -20)
 <2><233bf>: Abbrev Number: 28 (DW_TAG_formal_parameter)
    <233c0>   DW_AT_name        : (indirect string, offset: 0x21373): context
    <233c4>   DW_AT_decl_file   : 1
    <233c5>   DW_AT_decl_line   : 101
    <233c6>   DW_AT_type        : <0x22f10>
    <233ca>   DW_AT_location    : 2 byte block: 91 60   (DW_OP_fbreg: -32)
 <2><233cd>: Abbrev Number: 0
 <1><233ce>: Abbrev Number: 0

Reply via email to