]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/6492 (New boost regression (friends))
authorMark Mitchell <mark@codesourcery.com>
Mon, 29 Apr 2002 14:54:52 +0000 (14:54 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 29 Apr 2002 14:54:52 +0000 (14:54 +0000)
commit3939c11f5ce40abf0f3462d8fc35de25a977f6f5
treef5bcfcb25ebdf59f13c961bb3b6a740e277bd555
parentcb66b1e54f9dd80b85d2b7e135f3e9d45e159811
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: r52894
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]