PR c++/52746
commit47a1eb5eddde1269571b4def9b0425302cc491c9
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Mar 2012 02:58:29 +0000 (29 02:58 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Mar 2012 02:58:29 +0000 (29 02:58 +0000)
tree4946f8b06c2a67368948ab16136b0306ad0cf725
parentb79534243ebecbf6fd9edcc627fbe3f30d304983
PR c++/52746
* typeck.c (lookup_destructor): Clear BASELINK_QUALIFIED_P if
we didn't get an explicit scope.
* pt.c (tsubst_baselink): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/overload/virtual2.C [new file with mode: 0644]