- 09 Sep, 1999 10 commits
-
-
* except.c (find_all_handler_type_matches): Free the list if we found no matches. From-SVN: r29227
Richard Henderson committed -
* combine.c (SUBST): Break out to a real function do_SUBST. (SUBST_INT): Likewise. * gcse.c (free_pre_mem): Free `temp_bitmap'. (pre_insert): Free `inserted'. * loop.c (basic_induction_var): Always set `location'. * function.c (expand_function_end): Add initial_trampoline as a root. * rtl.h (init_varasm_once): Declare. * toplev.c (compile_file): Call it. * ggc-simple.c (ggc_mark_string_ptr): New. (ggc_add_string_root): New. (ggc_collect): Disable collection avoidance temporarily. * ggc.h (ggc_add_string_root): Declare. * except.c (create_rethrow_ref): Use ggc_alloc_string. * optabs.c (init_libfuncs): Likewise. * varasm.c (named_section): Use ggc_alloc_string. (make_function_rtl): Likewise. (make_decl_rtl): Likewise. (assemble_static_space): Likewise. (assemble_trampoline_template): Likewise. (output_constant_def): Likewise. (force_const_mem): Likewise. (mark_const_hash_entry): New. (mark_pool_sym_hash_table): New. (mark_varasm_state): Use it. (init_varasm_once): New. * expr.h (init_one_libfunc): Declare. * optabs.c (init_one_libfunc): New. (init_optabs): Use it. * config/gofast.h: Likewise. * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise. * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise. From-SVN: r29226
Richard Henderson committed -
* cp-tree.h (scratch_tree_cons): Remove. * call.c: Replace all uses of expr_tree_cons, saveable_tree_cons, and perm_tree_cons with plain tree_cons. * class.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * init.c: Likewise. * lex.c: Likewise. * method.c: Likewise. * parse.y: Likewise. * pt.c: Likewise. * repo.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * typeck.c: Likewise. * parse.c: Regenerated. * tree.c (build_srcloc): Simplify. From-SVN: r29225
Mark Mitchell committed -
* Makefile.in (cppexp.o): Depend on cpphash.h. * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx. Include cpphash.h. * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx. * cpplib.c (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * cccp.c: Add T_POISON node type. (special_symbol): Handle `defined(xxx)' and plain `xxx' for poisoned xxx. (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * c-pragma.c (handle_pragma_token): Ignore #pragma poison. * c-pragma.h: Add ps_poison state. We now always have generic pragmas. From-SVN: r29224
Geoff Keating committed -
* cp-tree.h (lang_decl_flags): Remove permanent_attr. Remove next. (LANG_DECL_PERMANENT): Remove. * decl.c (duplicate_decls): Don't mess about with obstacks trying to free memory. (lang_mark_tree): Mark DECL_LANG_SPECIFIC. * lex.c (free_lang_decl_chain): Remove. (build_lang_decl): Don't use obstacks. (retrofit_lang_decl): Likewise. (copy_lang_decl): Likewise. From-SVN: r29223
Mark Mitchell committed -
* ggc.h (ggc_alloc): New function. (ggc_mark): Likewise. * ggc-simple.c (ggc_any): New structure. (ggc_status): Add anys. (n_anys_collected): New variable. (ggc_alloc): Define. (ggc_mark): Likewise. (ggc_collect): Collect the anys. From-SVN: r29222
Mark Mitchell committed -
* cp-tree.h (saved_scope): Remove old_binding_level and function_decl. Tidy up. * decl.c (mark_saved_scope): Don't set them. (maybe_push_to_top_level): Clear memory. From-SVN: r29221
Mark Mitchell committed -
* decl.c (layout_var_decl): Change prototype. Don't complete types for external objects. (check_initializer): Likewise. Tidy. (initialize_local_var): Complete types here. (cp_finish_decl): Not here. Reorganize a little. (grokvardecl): Don't complete types here. From-SVN: r29220
Mark Mitchell committed -
From-SVN: r29219
Kaveh R. Ghazi committed -
From-SVN: r29218
Kaveh R. Ghazi committed
-
- 08 Sep, 1999 30 commits
-
-
From-SVN: r29217
Richard Henderson committed -
* gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC will use into account. Expand the max width to 5. * rtl.c: Likewise. From-SVN: r29216
Richard Henderson committed -
* ggc-simple.c (ggc_free_rtx): Poison the correct amount for the rtx length. From-SVN: r29215
Richard Henderson committed -
From-SVN: r29214
Richard Henderson committed -
* decl.c (start_function): Clear last_dtor_insn and last_parm_cleanup_insn. (push_cp_function_context): Just copy over a little of the old context, not all of it. From-SVN: r29213
Mark Mitchell committed -
* Makefile.in (stmp-fixinc): Remove extraneous exit 1 from last change. From-SVN: r29212
Richard Henderson committed -
* cp-tree.h (copy_to_permanent): Remove. (permanent_p): Likewise. * decl.c (building_typename_type): Don't use copy_to_permanent. (start_decl): Likewise. (grok_reference_init): Likewise. (cp_finish_decl): Likewise. * init.c (build_new_1): Don't use mapcar. (build_vec_delete_1): Don't use copy_to_permanent. (build_vec_init): Likewise. * parse.y (primary): Likewise. * parse.c: Regenerated. * pt.c (push_template_decl_real): Don't use copy_to_permanent. (lookup_template_class): Likewise. (tsubst_friend_function): Likewise. (instantiate_class_template): Likewise. (tsubst_decl): Likewise. (tsubst): Likewise. (instantiate_template): Likewise. (unify): Likewise. * rtti.c (get_tinfo_fn): Likewise. (build_dynamic_cast): Likewise. * semantics.c (finish_if_stmt_cond): Likewise. (finish_while_stmt_cond): Likewise. (finish_do_stmt): Likewise. (finish_for_cond): Likewise. (finish_for_expr): Likewise. (finish_cleanup): Likewise. (add_decl_stmt): Likewise. (finish_named_return_value): Likewise. (finish_qualified_call_expr): Likewise. * tree.c (perm_manip): Remove. (build_exception_variant): Don't use copy_to_permanent. (permanent_p): Remove. (copy_to_permament): Remove. (build_min_nt): Don't use copy_to_permanent. (build_min): Likewise. (min_tree_cons): Likewise. * typeckc.c (build_static_cast): Likewise. (build_reinterpret_cast): Likewise. (build_const_cast): Likewise. From-SVN: r29211
Mark Mitchell committed -
* system.h (sbrk, malloc, calloc, realloc): Backup prototypes changed from extern char *, to extern PTR. Also fix typo in NEED_DECLARATION_REALLOC test. * mips-tdump.c (malloc, calloc, realloc): Don't prototype. From-SVN: r29210
Kaveh R. Ghazi committed -
posix-threads.h (_Jv_PthreadCheckMonitor): Reverted previous change and implemented a correct test in the __m_count case. * include/posix-threads.h (_Jv_PthreadCheckMonitor): Reverted previous change and implemented a correct test in the __m_count case. From-SVN: r29209
Tom Tromey committed -
* gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL, ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF, ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3, ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete. * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR. * cccp.c (pcfinclude): Likewise. * global.c (allocno_compare): Likewise. * haifa-sched.c (rank_for_schedule): Likewise. * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise. * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise. * stupid.c (stupid_reg_compare): Likewise. * tree.c (_obstack_allocated_p): Likewise. * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise. From-SVN: r29208
Kaveh R. Ghazi committed -
From-SVN: r29207
Bruce Korb committed -
* ggc-simple.c (init_ggc): Absorb the old init. (ggc_push_context): Use xcalloc. (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise. (ggc_collect): Add [rvts] tags to the collection stats. From-SVN: r29206
Richard Henderson committed -
* lists.c: Include ggc.h. (zap_lists): New. (init_EXPR_INSN_LIST_cache): Install it. From-SVN: r29205
Richard Henderson committed -
From-SVN: r29204
Andreas Schwab committed -
* g++.old-deja/g++.other/sizeof3.C: New test. * g++.old-deja/g++.other/sizeof4.C: New test. * g++.old-deja/g++.other/ambig2.C: Mark XFAILs. * g++.old-deja/g++.other/lookup16.C: Mark XFAIL. From-SVN: r29203
Nathan Sidwell committed -
From-SVN: r29202
Mark Klein committed -
From-SVN: r29201
Jeffrey A Law committed -
From-SVN: r29200
Jeff Garzik committed -
* xmemdup.c: New xmemdup function. * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. From-SVN: r29199
Jeff Garzik committed -
* rtl.h (obstack_alloc_rtx): Removed, it's now static in genrtl.c. From-SVN: r29198
Alexandre Oliva committed -
From-SVN: r29197
Jeff Law committed -
* flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG. * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG and SET_DEST. Update comment. From-SVN: r29196
Alasdair Baird committed -
* config/c4x/c4x.c: Include ggc.h. (c4x_add_gc_roots): New function. (c4x_override_options): Call c4x_add_gc_roots. From-SVN: r29195
Michael Hayes committed -
* defaults.h (TARGET_ESC): Move ... * system.h: ... here, where Linas had it in the first place. Silly me. From-SVN: r29194
Richard Henderson committed -
* include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed test in __m_count case. From-SVN: r29193
Tom Tromey committed -
* c-common.c: Use ISGRAPH, ISLOWER, toupper. * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c, genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise. * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC. * defaults.h (TARGET_ESC): Add default. From-SVN: r29192
Linas Vepstas committed -
* configure.in: add i370-*-openedition, i370-*-mvs and i370-*-linux targets From-SVN: r29191
Linas Vepstas committed -
* config.guess: Add OS/390 match pattern. * config.sub: Add mvs, openedition targets. * configure.in (i370-ibm-opened*): New. From-SVN: r29190
Linas Vepstas committed -
* decl.c (ggc_p): Set it to 1. (mark_saved_scope): Add prototype. From-SVN: r29189
Mark Mitchell committed -
* config.table: Add openedition target. * config/mh-openedition: New file. From-SVN: r29188
Linas Vepstas committed
-