re PR c++/6492 (New boost regression (friends))
authorMark Mitchell <mark@codesourcery.com>
Mon, 29 Apr 2002 14:56:24 +0000 (14:56 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 29 Apr 2002 14:56:24 +0000 (14:56 +0000)
commit33dd07ee9d7fe8fb3ff9c0391bc6891c2fbd1b90
treebbfde17f6dfa4ed7c3ba43768c8a5d0cfd5fb3f8
parentd5482cdcb03e1da0d673ebac860cc77034026ac2
re PR c++/6492 (New boost regression (friends))

PR c++/6492
* pt.c (tsubst_friend_class): If the friend has an explicit scope,
enter that scope before name lookup.

PR c++/6486
* method.c (do_build_copy_constructor): Avoid building
cv-qualified reference types.

PR c++/6486
* g++.dg/template/friend6.C: New test.

PR c++/6492
* g++.dg/init/copy1.C: New test.

From-SVN: r52895
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/copy1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/friend6.C [new file with mode: 0644]