------- 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