https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67184
--- Comment #12 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Fri Jun 21 20:47:40 2019 New Revision: 272574 URL: https://gcc.gnu.org/viewcvs?rev=272574&root=gcc&view=rev Log: /cp 2019-06-21 Paolo Carlini <paolo.carl...@oracle.com> PR c++/90909 Revert: 2019-05-21 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67184 PR c++/69445 * call.c (build_over_call): Devirtualize when the final overrider comes from the base. /testsuite 2019-06-21 Paolo Carlini <paolo.carl...@oracle.com> PR c++/90909 Revert: 2019-05-21 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67184 PR c++/69445 * g++.dg/other/final3.C: New. * g++.dg/other/final4.C: Likewise. * g++.dg/other/final5.C: Likewise. * g++.dg/other/final6.C: New. Removed: trunk/gcc/testsuite/g++.dg/other/final3.C trunk/gcc/testsuite/g++.dg/other/final4.C trunk/gcc/testsuite/g++.dg/other/final5.C