re PR c++/16273 (Memory exhausted when using nested classes and virtual functions)
authorMark Mitchell <mark@codesourcery.com>
Thu, 12 Aug 2004 17:58:24 +0000 (17:58 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 12 Aug 2004 17:58:24 +0000 (17:58 +0000)
commitf7a8132ae8f97e55dfd62d527f3d528a2a560ca5
tree406f8be5909f6d4b63c7cfda27be68b073845501
parent28e99c6271f33c9f03eb2fda746b40ab1241e3aa
re PR c++/16273 (Memory exhausted when using nested classes and virtual functions)

PR c++/16273
* class.c (count_depth_data): New type.
(dfs_depth_post): New function.
(dfs_depth_q): Likewise.
(find_final_overrider_data_s): Change type of vpath.
Add vpath_list.
(dfs_find_final_overrider_1): New function.
(dfs_find_final_overrider): Use it.
(dfs_find_final_overrider_q): Adjust use of vpath.
(dfs_find_final_overrider_post): Likewise.
(find_final_overrider): Use dfs_depth.  Allocate and deallocate
vpath_list.

From-SVN: r85886
gcc/cp/ChangeLog
gcc/cp/class.c