OSDN Git Service

cp:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2000 12:53:38 +0000 (12:53 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Nov 2000 12:53:38 +0000 (12:53 +0000)
commit178ecb0c160331bdee0b1ba421a6bfdd00054599
tree3be1b6f05983fb68984fe76dd579c0853828c39d
parentbea65f9ae1b2bf777dabb79a7636a396a5aaa4f4
cp:
* decl.c (grokfndecl): Undo COMPONENT_REF damage caused by
bison parser ickiness.
* pt.c (tsubst_friend_function): Enter namespace scope when
tsubsting the function name.
* cp-tree.h (DECL_TI_TEMPLATE): Update comment to reflect reality.
testsuite:
* g++.old-deja/g++.other/friend46.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37793 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/friend46.C [new file with mode: 0644]