From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12797 invoked by alias); 9 Dec 2006 05:43:51 -0000 Received: (qmail 12741 invoked by uid 48); 9 Dec 2006 05:43:35 -0000 Date: Sat, 09 Dec 2006 05:43:00 -0000 Message-ID: <20061209054335.12740.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug debug/23551] dwarf records for inlines appear incomplete In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2006-12/txt/msg00756.txt.bz2 ------- Comment #12 from pinskia at gcc dot gnu dot org 2006-12-09 05:43 ------- Case 2 was filed as PR 29792 and was declared invalid. Though we get currently: .uleb128 0x2 # (DIE (0x25) DW_TAG_subprogram) .ascii "foo\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (no-inlined-instance-record.c) .byte 0x2 # DW_AT_decl_line .byte 0x1 # DW_AT_prototyped .long 0x40 # DW_AT_type .byte 0x3 # DW_AT_inline .long 0x40 # DW_AT_sibling .uleb128 0x3 # (DIE (0x36) DW_TAG_formal_parameter) .ascii "x\0" # DW_AT_name .byte 0x1 # DW_AT_decl_file (no-inlined-instance-record.c) .byte 0x1 # DW_AT_decl_line .long 0x40 # DW_AT_type .byte 0x0 # end of children of DIE 0x25 Case 1, is also too hard to fix as it would make us lose a lot of optimizations. Really what GCC is producing is the best debugging you can get for these functions. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23551