spew.c (pending_inlines, [...]): Make static.
authorJakub Jelinek <jakub@redhat.com>
Wed, 23 Jan 2002 18:52:08 +0000 (19:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 23 Jan 2002 18:52:08 +0000 (19:52 +0100)
commit0a01c261ff1b467cb5c706858bd444c34000fb1a
treec6469789b3d8aaa2118368d0a251ac21514b6795
parent1398974cb30a775ca0d8fccd9b86a2cdb77fb654
spew.c (pending_inlines, [...]): Make static.

* spew.c (pending_inlines, pending_inlines_tail,
processing_these_inlines): Make static.
(mark_pending_inlines): Remove static.
(begin_parsing_inclass_inline): If in function, save pi
for GC to cp_function_chain->unparsed_inlines instead.
(process_next_inline): Likewise.
* cp-tree.h (struct cp_language_function): Add unparsed_inlines.
(mark_pending_inlines): Add prototype.
* decl.c (spew_debug): Remove unused extern.
(mark_lang_function): Call mark_pending_inlines.

* g++.dg/other/gc1.C: New test.

From-SVN: r49147
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/spew.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/gc1.C [new file with mode: 0644]