This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48603] New: Missing DW_TAG_typedef for anonymous struct in template
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Apr 2011 08:26:40 +0000
- Subject: [Bug debug/48603] New: Missing DW_TAG_typedef for anonymous struct in template
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48603
Summary: Missing DW_TAG_typedef for anonymous struct in
template
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
CC: dodji@gcc.gnu.org
Target: x86_64-unknown-linux-gnu
template <typename T>
class F {
typedef struct { int i; } C;
C a;
};
F<int> f;
g++ (GCC) 4.7.0 20110414 (experimental)
<1><1d>: Abbrev Number: 2 (DW_TAG_class_type)
<1e> DW_AT_name : (indirect string, offset: 0x11): F<int>
<2><29>: Abbrev Number: 3 (DW_TAG_structure_type)
<2a> DW_AT_name : C
but there is no DW_TAG_typedef anywhere in this CU.
A similar case without template was PR debug/47510. There should be also
present that GCC extension DW_AT_MIPS_linkage_name for the type.