------- Comment #3 from rguenth at gcc dot gnu dot org 2010-07-23 18:24 ------- Without LTO the limbo DIE has a non-NULL get_AT_ref (die, DW_AT_abstract_origin), a DW_TAG_subprogram. For some reason that doesn't get created with LTO (not easy to follow why).
More reduced testcase: struct Base { ~Base (); }; void fun(void) { struct Deriv : Base { } x; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44950