decl.c (shadow_label): Don't treat decls as identifiers.
authorMark Mitchell <mark@markmitchell.com>
Wed, 27 May 1998 19:11:36 +0000 (19:11 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 27 May 1998 19:11:36 +0000 (19:11 +0000)
commit120722ac7060fac7b22ae970f684b60d11a127e0
tree2cdd3bab6c39b411dab4327a60c2f1cb0c70dd10
parentb608647a8a9b759f5f54f9bc5a17096df6ef2f3b
decl.c (shadow_label): Don't treat decls as identifiers.

* decl.c (shadow_label): Don't treat decls as identifiers.
(maybe_push_to_top_level): Clear shadowed_labels.
* pt.c (instantiate_decl): Reset lineno and filename after calling
regenerate_decl_from_template.

From-SVN: r20093
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/label1.C [new file with mode: 0644]