--- Comment #5 from nikolay at totalviewtech dot com 2007-08-24 13:15
---
This is not fixed neither in 4.1.0 nor in any later version. The problem is
that DIE for static foofoo was indeed produced, but produced in wrong place.
<2><260>: Abbrev Number: 7 (DW_TAG_subprogram) --- Construc
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-08-14 22:40 ---
The iii bug is PR 27574.
So one problem was fixed for 4.1.0 and the other problem is already recorded as
a different PR number so I am going to close this as fixed.
--
pinskia at gcc dot gnu dot org changed:
--- Comment #3 from seppo at totalviewtech dot com 2007-08-14 20:32 ---
Hi Andrew,
Thanks for the quick response. The static variable foofoo seems to be OK in
DWARF and the DW_AT_location is there. But for some reason I still do not see
the _non-static_ iii variable and its DW_AT_locati
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-10 21:15 ---
4.1.0 produces:
.uleb128 0xd# (DIE (0x185) DW_TAG_variable)
.ascii "foofoo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file
.byte 0x10# DW_AT_decl_line
.long
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-10 21:13 ---
The mainline produces:
.ascii "foofoo\0" # DW_AT_name
.byte 0x1 # DW_AT_decl_file (t.cc)
.byte 0x10# DW_AT_decl_line
.long 0x282 # DW_AT_type
.byte 0x5
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|critical|normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33044