]> git.ipfire.org Git - thirdparty/gcc.git/commit
/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2019 22:26:42 +0000 (22:26 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 May 2019 22:26:42 +0000 (22:26 +0000)
commit74a6da21d1a20578f776dd8346116151605ad507
tree97b79b12042015bb7fc428bd1a08c04c14a346b0
parentce547a1e164e1899528641858fc401ce2b2b0683
/cp
2019-05-21  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/67184
PR c++/69445
* call.c (build_over_call): Devirtualize when the final overrider
comes from the base.

/testsuite
2019-05-21  Paolo Carlini  <paolo.carlini@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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271491 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/g++.dg/other/final5.C [new file with mode: 0644]