re PR c++/3870 (gcc 3.0 bogus error specializing a template function)
authorJason Merrill <jason@redhat.com>
Mon, 18 Mar 2002 14:36:19 +0000 (09:36 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Mar 2002 14:36:19 +0000 (09:36 -0500)
commit0f4237c2da717bce4a222c696cb1ba468a3ff550
treedb5986e8ecf6cd31ae59af52d2f151e69287d828
parent001ad76c41fb6725f6834c063199e8ea6540a9ee
re PR c++/3870 (gcc 3.0 bogus error specializing a template function)

        PR c++/3870
        * cp-tree.h (struct saved_scope): Add last_parms field.
        * decl.c (maybe_push_to_top_level): Save last_function_parms.
        (pop_from_top_level): Restore it.

From-SVN: r50970
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/testsuite/g++.dg/template/spec3.C [new file with mode: 0644]