cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Use GGC_CNEW.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 25 Jul 2004 17:19:39 +0000 (17:19 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 25 Jul 2004 17:19:39 +0000 (17:19 +0000)
commit99dd239f3cc0dd73e1b6096437922398724c8727
tree1861ec0739680328c7b59c570b800a14d2d2c24c
parent97b69e514a011eb1c529281c355d61399956edb4
cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Use GGC_CNEW.

        * cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Use GGC_CNEW.
        * typeck2.c (abstract_virtuals_error): Use GGC_NEW.
        * name-lookup.c (binding_entry_make): Use GGC_NEW.
        (binding_table_construct): Use GGC_CNEWVEC.
        (binding_table_new): Use GGC_NEW.
        (cxx_binding_make): Likewise.
        (begin_scope): Likewise.
        (push_to_top_level): Use GCC_CNEW.
        * parser.c (cp_token_cache_new): Likewise.
        (cp_token_cache_push_token): Likewise.
        (cp_lexer_new_main): Likewise.
        (cp_lexer_new_from_tokens): Likewise.
        (cp_parser_context_new): Likewise.
        (cp_parser_new): Likewise.
        (cp_lexer_new_from_tokens): Use GGC_NEWVEC.
        * lex.c (cxx_make_type): Use GGC_CNEW.
        (retrofit_lang_decl): Use GGC_NEWVAR.
        (cxx_dup_lang_specific_decl): Likewise.
        (copy_lang_type): Likewise.
        * decl.c (use_label): Use GGC_NEW instead of ggc_alloc.
        (save_function_data): Likewise.
        (lookup_label): Use GGC_CNEW instead of ggc_alloc_cleared.
        (cxx_push_function_context): Likewise.

From-SVN: r85150
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/lex.c
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/cp/typeck2.c