> Yes, this indeed looks like (most probably my) bug in the constant folding > code that now uses extern vtables. I will fix it. So we can not take > comdat linkage decl from external vtable when we no longer have its body > around, right?
Sounds about the fix John was describing, yes. You can produce a copy of the comdat linkage decl (the destructor in this case) or avoid using the extern vtable and just produce an undefined reference to the vtable itself. > Honza Thanks! Rafael