------- Comment #1 from dodji at gcc dot gnu dot org 2009-03-17 21:23 ------- Created an attachment (id=17480) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17480&action=view) Test case to compile.
Compiling this test case with debug info and without optimization shows that: 1/DW_TAG_member is generated with name _vptr.A It has DW_AT_type, DW_AT_artificial and DW_AT_data_member_location set. 2/ Each virtual functions have a DW_AT_vtable_elem_location attribute that give their index inside the vtable. So I believe all the concerns raised in this bug are addressed now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11208