class.c (struct count_depth_data): Remove.
authorNathan Sidwell <nathan@codesourcery.com>
Mon, 27 Sep 2004 12:00:08 +0000 (12:00 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Mon, 27 Sep 2004 12:00:08 +0000 (12:00 +0000)
commit8d83768f785fecd3b735b7e97b8d33d9c2ed7608
treeecfec79fb69f49e8c3f8e058a7f40be3f9c62a96
parent75e50bd288af0eaa7342f8cb5e506985fd4067f8
class.c (struct count_depth_data): Remove.

* class.c (struct count_depth_data): Remove.
(dfs_depth_post, dfs_depth_q): Remove.
(find_final_overrider): Use number of vbase classes as depth
bound.

* cp-tree.h (types_overlap_p): Remove.
* search.c (struct overlap_info): Remove.
(dfs_check_overlap, dfs_no_overlap_yet, types_overlap_p): Remove.

* pt.c (GTB_VIA_VIRTUAL, GTB_IGNORE_TYPE): Remove.
(get_template_base_recursive): Remove. Replace with ...
(get_template_base_r): ... this.
(struct get_template_base_data_s): New.
(get_template_base): Use get_template_base_r via dfs_walk.  Always
return NULL on failure.
(unify): Remove error_mark_node check from get_template_base result.

From-SVN: r88169
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/pt.c
gcc/cp/search.c