https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70283
Bug ID: 70283 Summary: [6 regression] bogus vtable mismatch warnings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org Target Milestone: --- While building libreoffice we get: /aux/hubicka/libreoffice2/core/sw/source/core/attr/calbck.cxx:27:1: note: virtual method �_ZN2sw16LegacyModifyHintD2Ev.localalias.7� sw::LegacyModifyHint::~LegacyModifyHint() {} ^ /aux/hubicka/libreoffice2/core/sw/source/core/attr/calbck.cxx:27:1: note: ought to match virtual method �__comp_dtor � but does not Makefile:246: recipe for target 'build' failed This is a conflict between vtable matching and the local alias optimization. We need to walk aliases before outputting the mismatch.