https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12385
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |13.2.0 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- I see now with GCC 13.2 (with GCC 7.5 'test' is missing): <1><29>: Abbrev Number: 2 (DW_TAG_class_type) <2a> DW_AT_name : (indirect string, offset: 0xe4): ObjectBase <2e> DW_AT_declaration : 1 <2e> DW_AT_sibling : <0x85> <2><32>: Abbrev Number: 3 (DW_TAG_subprogram) <33> DW_AT_external : 1 <33> DW_AT_name : (indirect string, offset: 0xa4): test <37> DW_AT_decl_file : 1 <38> DW_AT_decl_line : 4 <39> DW_AT_decl_column : 16 <3a> DW_AT_linkage_name: (indirect string, offset: 0x88): _ZN10ObjectBase4testEv <3e> DW_AT_virtuality : 1 (virtual) <3f> DW_AT_vtable_elem_location: 2 byte block: 10 0 (DW_OP_constu: 0) <42> DW_AT_containing_type: <0x29> <46> DW_AT_accessibility: 1 (public) <47> DW_AT_declaration : 1 <47> DW_AT_object_pointer: <0x4f> <4b> DW_AT_sibling : <0x55> <3><4f>: Abbrev Number: 4 (DW_TAG_formal_parameter) <50> DW_AT_type : <0x85> <54> DW_AT_artificial : 1 <3><54>: Abbrev Number: 0 <2><55>: Abbrev Number: 5 (DW_TAG_subprogram) <56> DW_AT_external : 1 <56> DW_AT_name : (indirect string, offset: 0xe4): ObjectBase <5a> DW_AT_linkage_name: (indirect string, offset: 0xae): _ZN10ObjectBaseC4Ev <5e> DW_AT_artificial : 1 <5e> DW_AT_accessibility: 1 (public) <5f> DW_AT_declaration : 1 <5f> DW_AT_object_pointer: <0x67> <63> DW_AT_sibling : <0x6d> <3><67>: Abbrev Number: 4 (DW_TAG_formal_parameter) <68> DW_AT_type : <0x85> <6c> DW_AT_artificial : 1 <3><6c>: Abbrev Number: 0 <2><6d>: Abbrev Number: 6 (DW_TAG_subprogram) <6e> DW_AT_external : 1 <6e> DW_AT_name : (indirect string, offset: 0x14): test2 <72> DW_AT_decl_file : 1 <73> DW_AT_decl_line : 9 <74> DW_AT_decl_column : 6 <75> DW_AT_linkage_name: (indirect string, offset: 0xcc): _ZN10ObjectBase5test2Ev <79> DW_AT_accessibility: 1 (public) <7a> DW_AT_declaration : 1 <7a> DW_AT_object_pointer: <0x7e> <3><7e>: Abbrev Number: 4 (DW_TAG_formal_parameter) <7f> DW_AT_type : <0x85> <83> DW_AT_artificial : 1 <3><83>: Abbrev Number: 0 <2><84>: Abbrev Number: 0 so both functions are there and so is the CTOR. Thus fixed.