decl.c (add_decl_to_level): New function.
authorMark Mitchell <mark@codesourcery.com>
Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 17 Aug 1999 22:35:19 +0000 (22:35 +0000)
commitcfe507bee830d9c451bbbdc1f1a5cc36dfc89616
tree42f4395767e8a85f8e3d853c22f9a94eaaefea02
parentdb4b04f1f4eeee834532ac0000516dba24cef7a6
decl.c (add_decl_to_level): New function.

* decl.c (add_decl_to_level): New function.
(push_local_binding): Use it.
(find_binding): Fix typo in comment.
(pushdecl): Use add_decl_to_level.  Put templates on the
corresponding namespace-scope binding levels.
* dump.c (dequeue_and_dump): Print the specializations of a
template.
* pt.c (push_template_decl_real): Don't push a template multiple
times.

From-SVN: r28738
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/dump.c
gcc/cp/pt.c