This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/44645] [4.5 Regression] wrong debug info for nested typedef
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2010 15:50:23 -0000
- Subject: [Bug debug/44645] [4.5 Regression] wrong debug info for nested typedef
- References: <bug-44645-16379@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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