pt.c (complete_template_args): Rewrite.
authorJason Merrill <jason@gcc.gnu.org>
Fri, 20 Mar 1998 10:44:06 +0000 (05:44 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 20 Mar 1998 10:44:06 +0000 (05:44 -0500)
commite6f1275f861e69c54e4812870d5c05c8c72df757
treeecbafe902e4da99957d7fb9189bf75722c9b4995
parent7aa74e4c2f4ca8b4a819099127b6263b4e0257c7
pt.c (complete_template_args): Rewrite.

* pt.c (complete_template_args): Rewrite.
(tsubst, FUNCTION_DECL): Use it.
* semantics.c (finish_asm_stmt): Fix combine strings. Call
c_expand_asm_operands () if output_operands, input_operands or
clobbers is not NULL_TREE.
* pt.c (complete_template_args): New function.
(get_bindings): Deal with specializations of function templates
with return type containing parameters from outer class
templates.
(tsubst, TEMPLATE_TEMPLATE_PARM): When reducing parameter level,
substitute arguments and compose a new type.

From-SVN: r18724
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c