------- Comment #2 from redi at gcc dot gnu dot org 2010-07-21 15:50 ------- Am I allowed to confirm my own bugs? doing so anyway
There's no difference when using -gdwarf-2 -gstrict-dwarf readelf -wi for the output of g++ 4.5 shows S::ptr as: <1><4f>: Abbrev Number: 5 (DW_TAG_pointer_type) DW_AT_byte_size : 8 which is missing the type, so S::ptr is void* The output of g++ 4.4 and 4.6 shows: <1><4f>: Abbrev Number: 5 (DW_TAG_pointer_type) DW_AT_byte_size : 8 DW_AT_type : <2d> where <2d> is the info for S so S::ptr is S* -- redi at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-07-21 15:50:23 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44645