* cp-tree.h (TYPE_BINFO): Update comment.
authorlerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Oct 2001 13:24:34 +0000 (13:24 +0000)
committerlerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Oct 2001 13:24:34 +0000 (13:24 +0000)
commit1d36b416cb0373c150858b6c53b4e25db35578dc
tree8f939dad1cc78f6389ec45ed623f2d6ea2c80aa6
parent28fdf3f75969c74ff029dc060ab3a64f902221fd
* cp-tree.h (TYPE_BINFO): Update comment.
(BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): New macro.
(TEMPLATE_TEMPLATE_PARM_TEMPLATE_INFO): Use template_info.
(TYPENAME_TYPE_FULLNAME): Use TYPE_FIELDS.
(copy_type): Prototype new function.
* lex.c (copy_lang_decl): Gather tree node statistics.
(copy_lang_type): New function.
(copy_type): Likewise.
(cp_make_lang_type): Create lang_type for
BOUND_TEMPLATE_TEMPLATE_PARM.  Set TYPE_BINFO for TYPENAME_TYPE
and BOUND_TEMPLATE_TEMPLATE_PARM.
* pt.c (tsubst): Use copy_type instead of copy_node.
* search.c (lookup_field_1): Ignore TYPENAME_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46244 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/lex.c
gcc/cp/pt.c
gcc/cp/search.c
gcc/testsuite/g++.dg/template/ttp1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/typename1.C [new file with mode: 0644]