This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/70283] New: [6 regression] bogus vtable mismatch warnings


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]