https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67184
--- Comment #17 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> --- Author: paolo Date: Fri Jul 5 18:03:05 2019 New Revision: 273147 URL: https://gcc.gnu.org/viewcvs?rev=273147&root=gcc&view=rev Log: /cp 2019-07-05 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67184 (again) PR c++/69445 * call.c (build_over_call): Devirtualize user-defined operators coming from a base too. (build_new_method_call_1): Do not devirtualize here. /testsuite 2019-07-05 Paolo Carlini <paolo.carl...@oracle.com> PR c++/67184 (again) PR c++/69445 * g++.dg/other/final4.C: New. Added: trunk/gcc/testsuite/g++.dg/other/final4.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/testsuite/ChangeLog