cp-tree.h (get_template_base): Don't declare.
authorMark Mitchell <mark@markmitchell.com>
Wed, 10 Feb 1999 10:28:07 +0000 (10:28 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 10 Feb 1999 10:28:07 +0000 (10:28 +0000)
commitfcfb9f965ec8dcea673f45d58d03309e9c5b84d9
tree46af3a1e3394c0b6b5f881822340fcedc826bd53
parentef30399b50248459021d6a08ea569432700c1a86
cp-tree.h (get_template_base): Don't declare.

* cp-tree.h (get_template_base): Don't declare.
(dfs_walk): Declare.
(dfs_unmark): Likewise.
(markedp): Likewise.
* pt.c (unify): Remove duplicate declaration.  Pass tparms and
targs to get_template_base.
(get_template_base_recursive): Move here from search.c.  Check to
see that the base found can be instantiated to form the desired
type.
(get_template_base): Likewise.
(get_class_bindings): Simplify.
* search.c (get_template_base_recursive): Move to pt.c.
(get_template_base): Likewise.
(markedp): Make it global.
(dfs_walk): Likewise.
(dfs_unmark): Likewise.

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