https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64860
Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |DUPLICATE --- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> --- This is another bug related to incremental linking and LTO. I will redirect them all to PR67548. The testcase now works on mainline GCC in a sense that the duplicate is gone and we get missing typeinfo: lib1.lib:<artificial>:typeinfo for CDialogBase: error: undefined reference to 'vtable for __cxxabiv1::__class_type_info' /usr/bin/ld: the vtable symbol may be undefined because the class is missing its key function collect2: error: ld returned 1 exit status that seems intended. *** This bug has been marked as a duplicate of bug 67548 ***