From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13747 invoked by alias); 11 Apr 2012 12:58:22 -0000 Received: (qmail 13731 invoked by uid 22791); 11 Apr 2012 12:58:21 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_TM,TW_VM X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 12:58:07 +0000 From: "mark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/36266] C++ typedef misplaced in DWARF information Date: Wed, 11 Apr 2012 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00724.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36266 Mark Wielaard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at gcc dot gnu.org --- Comment #1 from Mark Wielaard 2012-04-11 12:57:49 UTC --- This seems fixed in g++ (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2). The Cursor typedef now is in the avmplus namespace scope. Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0xa3 (32-bit) Version: 4 Abbrev Offset: 0 Pointer Size: 8 <0>: Abbrev Number: 1 (DW_TAG_compile_unit) DW_AT_producer : (indirect string, offset: 0x8): GNU C++ 4.6.3 20120306 (Red Hat 4.6.3-2) -fpreprocessed -mtune=generic -march=x86-64 -g <10> DW_AT_language : 4 (C++) <11> DW_AT_name : (indirect string, offset: 0x60): Interpreter.ii <15> DW_AT_comp_dir : (indirect string, offset: 0x76): /tmp <19> DW_AT_stmt_list : 0x0 <1><1d>: Abbrev Number: 2 (DW_TAG_typedef) <1e> DW_AT_name : (indirect string, offset: 0x0): uint8_t <22> DW_AT_decl_file : 1 <23> DW_AT_decl_line : 1 <24> DW_AT_type : <0x28> <1><28>: Abbrev Number: 3 (DW_TAG_base_type) <29> DW_AT_byte_size : 1 <2a> DW_AT_encoding : 8 (unsigned char) <2b> DW_AT_name : (indirect string, offset: 0x8c): unsigned char <1><2f>: Abbrev Number: 4 (DW_TAG_namespace) <30> DW_AT_name : (indirect string, offset: 0x9a): avmplus <34> DW_AT_decl_file : 1 <35> DW_AT_decl_line : 3 <36> DW_AT_sibling : <0x74> <2><3a>: Abbrev Number: 5 (DW_TAG_structure_type) <3b> DW_AT_name : Box <3f> DW_AT_declaration : 1 <3f> DW_AT_sibling : <0x54> <3><43>: Abbrev Number: 6 (DW_TAG_union_type) <44> DW_AT_byte_size : 8 <45> DW_AT_decl_file : 1 <46> DW_AT_decl_line : 8 <4><47>: Abbrev Number: 7 (DW_TAG_member) <48> DW_AT_name : (indirect string, offset: 0x6f): abcpos <4c> DW_AT_decl_file : 1 <4d> DW_AT_decl_line : 9 <4e> DW_AT_type : <0x54> <2><54>: Abbrev Number: 2 (DW_TAG_typedef) <55> DW_AT_name : (indirect string, offset: 0x7b): Cursor <59> DW_AT_decl_file : 1 <5a> DW_AT_decl_line : 4 <5b> DW_AT_type : <0x74> <2><5f>: Abbrev Number: 8 (DW_TAG_variable) <60> DW_AT_name : (indirect string, offset: 0x82): boxedNull <64> DW_AT_decl_file : 1 <65> DW_AT_decl_line : 12 <66> DW_AT_type : <0x92> <6a> DW_AT_declaration : 1 <6a> DW_AT_const_value : 8 byte block: 0 0 0 0 0 0 0 0 <1><74>: Abbrev Number: 9 (DW_TAG_pointer_type) <75> DW_AT_byte_size : 8 <76> DW_AT_type : <0x7a> <1><7a>: Abbrev Number: 10 (DW_TAG_const_type) <7b> DW_AT_type : <0x1d> <1><7f>: Abbrev Number: 11 (DW_TAG_structure_type) <80> DW_AT_specification: <0x3a> <84> DW_AT_byte_size : 8 <85> DW_AT_decl_file : 1 <86> DW_AT_decl_line : 5 <87> DW_AT_sibling : <0x92> <2><8b>: Abbrev Number: 12 (DW_TAG_member) <8c> DW_AT_type : <0x43> <90> DW_AT_data_member_location: 0 <1><92>: Abbrev Number: 10 (DW_TAG_const_type) <93> DW_AT_type : <0x7f> <1><97>: Abbrev Number: 13 (DW_TAG_variable) <98> DW_AT_specification: <0x5f> <9c> DW_AT_location : 9 byte block: 3 0 0 0 0 0 0 0 0 (DW_OP_addr: 0)