* cp-tree.h (hash_tree_cons_simple): New macro.
commitae97983e383e6d7b0ac62f97af6005c1a4b1bb4c
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Sep 1998 11:31:30 +0000 (4 11:31 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Sep 1998 11:31:30 +0000 (4 11:31 +0000)
treeef867aa9935c51a5dcaa6ea21926721ed24b1b81
parent236f2840cfd21381449fc3ac5740d127921aca44
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22233 138bc75d-0d04-0410-961f-82ee72b054a4
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]