cp-tree.h (hash_tree_cons_simple): New macro.
authorMark Mitchell <mark@markmitchell.com>
Fri, 4 Sep 1998 11:31:30 +0000 (11:31 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 4 Sep 1998 11:31:30 +0000 (11:31 +0000)
commitcabc336a5ef33546fa4330972415152e59174ef8
treeef867aa9935c51a5dcaa6ea21926721ed24b1b81
parent7940acc401ef788bf2e287bd77250a3a125c9e80
cp-tree.h (hash_tree_cons_simple): New macro.

* cp-tree.h (hash_tree_cons_simple): New macro.
* pt.c (tsubst_arg_types): New function.  Use hash_tree_cons.
(coerce_template_parms): Use make_temp_vec, instead of
make_tree_vec.  Document this behavior.
(lookup_template_class): Likewise.
(tsubst, cases METHOD_TYPE, FUNCTION_TYPE): Use tsubst_arg_types.
Remove dead code (and add ssertion to check its deadness).  Fix
bug w.r.t. exception specifications.

From-SVN: r22233
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.eh/tmpl1.C [new file with mode: 0644]