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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-01-26
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Can't see it with:

readelf -v
GNU readelf (GNU Binutils; openSUSE Tumbleweed) 2.37.20211112-3


$ gcc-11 pr104238.c -c -g -O1 && readelf --debug-dump=info,abbrev pr104238.o
Contents of the .debug_info section:
...
 <2><4c>: Abbrev Number: 3 (DW_TAG_variable)
    <4d>   DW_AT_name        : var
    <51>   DW_AT_decl_file   : 1
    <52>   DW_AT_decl_line   : 2
    <53>   DW_AT_decl_column : 22
    <54>   DW_AT_type        : <0x63>
    <58>   DW_AT_const_value : -9223372036854775808
 <2><62>: Abbrev Number: 0
...

Reply via email to