re PR c++/6749 (infinite loop with inheritance of abstract classes)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Mon, 16 Aug 2004 14:29:27 +0000 (14:29 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Mon, 16 Aug 2004 14:29:27 +0000 (14:29 +0000)
commit35046a541ccc59e03c11de3fded8bc0ff7b7a396
tree474d17dc602be1e20e793f14d2d2702f7ad55198
parenta20f4d83c8ec7fb99c8532a84db5204fe00cf71d
re PR c++/6749 (infinite loop with inheritance of abstract classes)

PR c++/6749
* pt.c (instantiate_pending_templates): Add int parameter.  Don't
return anything.
* cp-tree.h (instantiate_pending_templates): Adjust prototype.
* decl2.c (finish_file): Adjust call to
instantiate_pending_templates.

* g++.dg/template/vtable2.C: New test.

From-SVN: r86054
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/vtable2.C [new file with mode: 0644]