This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/48229] New: DW_TAG_type_unit has no DW_AT_producer
- 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: Tue, 22 Mar 2011 09:38:35 +0000
- Subject: [Bug debug/48229] New: DW_TAG_type_unit has no DW_AT_producer
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48229
Summary: DW_TAG_type_unit has no DW_AT_producer
Product: gcc
Version: 4.5.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
Target: x86_64-unknown-linux-gnu
FAIL g++ (GCC) 4.5.3 20110322 (prerelease)
FAIL g++ (GCC) 4.6.0 20110322 (prerelease)
FAIL g++ (GCC) 4.7.0 20110322 (experimental)
echo 'class C {} c;' | g++ -o 1.o -c -g -Wall -x c++ - -gdwarf-4
Contents of the .debug_info section:
<0><b>: Abbrev Number: 3 (DW_TAG_compile_unit)
< c> DW_AT_producer : GNU C++ 4.5.3 20110322 (prerelease)
+
Contents of the .debug_types section:
<0><17>: Abbrev Number: 1 (DW_TAG_type_unit)
<18> DW_AT_language : 4 (C++)
<19> DW_AT_GNU_odr_signature: 0xef4f1478 0xafb836e1
<21> DW_AT_stmt_list : 0x0
- no DW_AT_producer here to check for workaround of PR debug/45124.