pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
authorMark Mitchell <mmitchell@usa.net>
Sat, 28 Mar 1998 17:47:07 +0000 (17:47 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 28 Mar 1998 17:47:07 +0000 (17:47 +0000)
commitb4c4a9ecbe199e65a256ba850c9e6a5eb1888b20
tree5627198955fe3272e4f5854aa834f9a6c0a84417
parentba0b8436b0be24ad5a1119335d6b1fe45f733bd1
pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.

* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (instantiate_class_template): Make sure template
arguments are permanent.
* init.c (resolve_offset_ref): Don't go looking around in
template types.
* semantics.c: Add routines to handle expressions, and some
declaration processing.
* parse.y: Use them.
(current_class_depth): Move declaration to cp-tree.h.
* parse.c: Regenerated.
* cp-tree.h: Use them.
(current_class_depth): Declare.
* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.

From-SVN: r18882
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/init.c
gcc/cp/parse.c
gcc/cp/parse.y
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/spec16.C [new file with mode: 0644]