decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion.
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 12 Sep 1999 21:19:02 +0000 (21:19 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 12 Sep 1999 21:19:02 +0000 (21:19 +0000)
commitb7cf61b5b30586189e2a63777a8e2e910cabde39
treecdf70ca29e76fe65443ca7b8a3946779f4ef8962
parent36ab44c74e7253e9dd6c36e5f5b2d530c35f15dd
decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion.

* decl.c (add_decl_to_level): Remove TREE_PERMANENT assertion.
(init_decl_processing): Don't set TREE_PERMANENT for the
error_mark_node.
(start_decl): Don't rebuild non-permanent ARRAY_TYPEs.
(grokdeclarator): Likewise.
(grokparms): Don't check TREE_PERMANENT when building up lists.
* decl2.c (grokfield): Don't assert TREE_PERMANENT.
(mark_inline_for_output): Likewise.
* expr.c (cplus_expand_expr): Don't check TREE_PERMANENT.
* init.c (build_offset_ref): Don't check TREE_PERMANENT.
* lex.c (check_newline): Don't check ggc_p; it is always one.
* pt.c (process_template_parm): Don't check TREE_PERMANENT.
* spew.c (yylex): Don't copy_node or probe_obstacks for
non-permanent CONSTANTs and STRINGs.
* tree.c (build_cplus_array_type_1): Don't fuss with
TREE_PERMANENT on ARRAY_TYPEs.

From-SVN: r29365
gcc/cp/ChangeLog