https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92695
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 47383 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47383&action=edit gcc10-pr92695.patch And here is a fix for the bogus warning. inline or constexpr on pure virtual functions looks useless, but the standard doesn't disallow that it seems.