decl.c (grokfndecl): Undo COMPONENT_REF damage caused by bison parser ickiness.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 27 Nov 2000 12:53:38 +0000 (12:53 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 27 Nov 2000 12:53:38 +0000 (12:53 +0000)
commit76e57b458976f18172c6e0ac1cffea3e6b6a1e24
tree3be1b6f05983fb68984fe76dd579c0853828c39d
parent70bbeb8b66198585061972bd24aca9218d0f1d87
decl.c (grokfndecl): Undo COMPONENT_REF damage caused by bison parser ickiness.

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.

From-SVN: r37793
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]