re PR c++/47873 (virtual Inheritance - Covariant Virtual Function - Segfault)
authorJason Merrill <jason@redhat.com>
Mon, 28 Feb 2011 21:41:21 +0000 (16:41 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 28 Feb 2011 21:41:21 +0000 (16:41 -0500)
commit2c1fb3eefdae087e7990b952563fd519d4736633
treeeb622a45254ed7a659ea498db5203a51bce80095
parent998871e99f606ee7c70f86e3e4edaeb0fecf88a8
re PR c++/47873 (virtual Inheritance - Covariant Virtual Function - Segfault)

PR c++/47873
* class.c (update_vtable_entry_for_fn): Check BINFO_LOST_PRIMARY_P
after checking for a non-thunk.

From-SVN: r170576
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/inherit/covariant18.C [new file with mode: 0644]