diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-12 21:19:02 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-09-12 21:19:02 +0000 |
commit | b7cf61b5b30586189e2a63777a8e2e910cabde39 (patch) | |
tree | cdf70ca29e76fe65443ca7b8a3946779f4ef8962 /gcc/cp | |
parent | 36ab44c74e7253e9dd6c36e5f5b2d530c35f15dd (diff) | |
download | gcc-b7cf61b5b30586189e2a63777a8e2e910cabde39.zip gcc-b7cf61b5b30586189e2a63777a8e2e910cabde39.tar.gz gcc-b7cf61b5b30586189e2a63777a8e2e910cabde39.tar.bz2 |
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
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 17c8f16..19812ea 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -9,6 +9,23 @@ 1999-09-11 Mark Mitchell <mark@codesourcery.com> + * 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. + * cp-tree.def (CLEANUP_STMT): New node. * cp-tree.h (language_function): Add name_declared. (current_function_name_declared): New macro. |