]> git.ipfire.org Git - thirdparty/gcc.git/commit
friend.c (is_friend): Use comptypes, rather than == to compare types.
authorMark Mitchell <mark@markmitchell.com>
Tue, 26 May 1998 23:17:56 +0000 (23:17 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 26 May 1998 23:17:56 +0000 (23:17 +0000)
commitea4e080b25061c49143467d14d6438996b671987
tree9a97484e1c054bb01be5879ff02fcca55cf3f0f3
parentf5e23e0df78594ef4148ed4e8ea6068804f5eb15
friend.c (is_friend): Use comptypes, rather than == to compare types.

* friend.c (is_friend): Use comptypes, rather than == to compare
types.  Modify for new representation of template friends.
(make_friend_class): Likewise.
* pt.c (tsubst_friend_class): Undo 1998-05-21 change.  Tweak.
(instantiate_class_template): Deal with template friends.

From-SVN: r20080
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/friend.c
gcc/testsuite/g++.old-deja/g++.pt/friend20.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/friend21.C [new file with mode: 0644]