decl.c (lookup_label): Build labels on the permanent obstack when building statement...
authorMark Mitchell <mark@codesourcery.com>
Fri, 27 Aug 1999 06:07:08 +0000 (06:07 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 27 Aug 1999 06:07:08 +0000 (06:07 +0000)
commit3fa56191391ce760d4f234500f5fa1bc310ed934
tree1541a62ea0f26cf3d6fafa97337f2ca84b68f590
parented6d16ade21c62a2135bcb18703a2e121099838d
decl.c (lookup_label): Build labels on the permanent obstack when building statement trees.

* decl.c (lookup_label): Build labels on the permanent obstack
when building statement trees.  Don't build RTL for labels when
building statement trees.
* semantics.c (finish_goto_stmt): Use LABEL_DECLs even when
building statement trees.
(finish_label_stmt): Likewise.
(expand_stmt): Adjust accordingly.
* pt.c (tsubst_expr); Likewise.
(do_decl_instantiation): Robustify.

From-SVN: r28918
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/pt.c
gcc/cp/semantics.c