This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/70283] New: [6 regression] bogus vtable mismatch warnings
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2016 20:14:20 +0000
- Subject: [Bug lto/70283] New: [6 regression] bogus vtable mismatch warnings
- Auto-submitted: auto-generated
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.