1. 06 Sep, 1999 5 commits
    • Daily bump. · 4b7ddb7a
      From-SVN: r29137
      Jeff Law committed
    • Fix typo in last change. · 614fcbc2
      From-SVN: r29136
      Mark Mitchell committed
    • Get ready for garbage collection. · 9cd64686
      	* Makefile.in (CXX_TREE_H): Add varray.h
      	(lex.o): Depend on ggc.h.
      	(decl.o): Likewise.
      	(decl2.o): Likewise.
      	(method.o): Likewise.
      	(search.o): Likewise.
      	(pt.o): Likewise.
      	(repo.o): Likewise.
      	* class.c: Include ggc.h.
      	(current_class_name): Remove.
      	(current_class_type): Likewise.
      	(current_access_specifier): Likewise.
      	(previous_class_type): Likewise.
      	(previous_class_values): Likewise.
      	(class_cache_firstobj): Likewise.
      	(current_lang_base): Likewise.
      	(current_lang_stack): Likewise.
      	(current_lang_stacksize): Likewise.
      	(lang_name_c): Likewise.
      	(lang_name_cplusplus): Likewise.
      	(lang_name_java): Likewise.
      	(current_lang_name): Likewise.
      	(base_layout_decl): Likewise.
      	(access_default_node): Likewise.
      	(access_public_node): Likewise.
      	(access_protected_node): Likewise.
      	(access_private_node): Likewise.
      	(access_default_virtual_node): Likewise.
      	(access_public_virtual_node): Likewise.
      	(access_protected_virtual_node): Likewise.
      	(access_private_virtual_node): Likewise.
      	(signed_zero_node): Likewise.
      	(init_class_processing): Don't build base_layout_decl.
      	(push_lang_context): Adjust now that current_lang_base is a varray.
      	(pop_lang_context): Likewise.
      	* cp-tree.h: Include varray.h.
      	(cp_global_trees): Add access_default, access_public,
      	access_protected, access_private, access_default_virtual,
      	access_public_virtual, access_protected_virtual,
      	access_private_virtual, ctor_identifier, delta2_identifier,
      	delta_identifier, dtor_identifier, in_charge_identifier,
      	index_identifier, nelts_identifier, this_identifier,
      	pfn_identifier, pfn_or_delta2_identifier, vptr_identifier,
      	lang_name_c, lang_name_cplusplus, lang_name_java,
      	empty_except_spec, null, jclass, minus_one, terminate.
      	(saved_scope): Move here from decl.c.  Define globals in terms of
      	saved_scope: current_namespace, current_class_name,
      	current_class_type, current_access_specifier, current_lang_stack,
      	current_lang_base, current_lang_name, current_function_parms,
      	current_template_parms, processing_template_decl,
      	processing_specialization, processing_explicit_instantiation,
      	previous_class_type, previous_class_values, class_cache_firstobj.
      	(scope_chain): New variable.
      	(init_pt): New function.
      	* decl.c (current_namespace): Remove.
      	(this_identifier, in_charge_identifier, ctor_identifier): Likewise.
      	(dtor_identifier, pfn_identifier, index_identifier): Likewise.
      	(delta_identifier, delta2_identifier): Likewise.
      	(pfn_or_delta2_identifier, tag_identifier): Likewise
      	(vt_off_identifier, empty_except_spec, null_node): Likewise.
      	(current_function_parms, current_lang_base): Remove.
      	(current_lang_stack, previous_class_values): Remove.
      	(class_binding_level): Macroize.
      	(saved_scope): Remove.
      	(current_saved_scope): Rename to scope_chain.
      	(mark_saved_scope): Adjust for new scope structure.
      	(maybe_push_to_top_level): Likewise.
      	(pop_from_top_level): Likewise.
      	(duplicate_decls): Adjust now that current_lang_base is a varray.
      	(build_typename_type): Call ggc_add_tree_hash_table_root.
      	(init_decl_processing): Call init_pt.  Call push_to_top_level to
      	set up globals.  Add GC roots.
      	(xref_basetypes): Adjust now that current_lang_base is a varray.
      	* decl.h (this_identifier): Remove.
      	(in_charge_identifier): Likewise.
      	* decl2.c: Don't include varray.h.
      	(current_namespace): Remove.
      	(init_decl2): Add GC roots.
      	* except.c (Terminate): Remove.
      	(init_exception_processing): Use terminate_node instead.
      	(build_terminate_handler): Likewise.
      	* init.c (nc_nelts_field_id): Remove.
      	(minus_one): Likewise.
      	(init_init_processing): Use minus_one_node and nelts_identifier
      	instead.  Add GC roots.
      	(jclass_node): Remove.
      	(build_new_1): Use nelts_identifier.
      	(build_vec_init): Likewise.
      	(build_vec_delete): Likewise.
      	* lex.c: Include ggc.h.
      	(defarg_fn): Move declaration early.
      	(defarg_parms): Likewise.
      	(init_parse): Add GC roots.
      	(handle_cp_pragma): Remove redundant declaration of
      	pending_vtables.
      	* method.c: Include ggc.h.
      	(btypelist): Make it a varray.  All uses changed.
      	(ktypelist): Likewise.
      	(init_method): Add GC roots.
      	* pt.c: Don't include varray.h.  Include ggc.h.
      	(current_template_parms): Remove.
      	(processing_template_decl): Likewise.
      	(processing_specialization): Likewise.
      	(processing_explicit_instantiation): Likewise.
      	(init_pt): New function.
      	* repo.c: Include ggc.h.
      	(init_repo): Add GC roots.
      	* search.c: Don't include varray.h.
      	(_vptr_name): Remove.
      	(lookup_field_1): Use vtpr_identifier instead.
      	(expand_indirect_vtbls_init): Remove redundant declaration of
      	in_charge_identifier.
      	(init_search_processing): Use vptr_identifier.
      
      From-SVN: r29135
      Mark Mitchell committed
    • Makefile.in (ggc-simple.o): Depend on hash.h. · 565e3f3e
      	* Makefile.in (ggc-simple.o): Depend on hash.h.
      	* ggc.h (ggc_add_tree_hash_table_root): Declare.
      	(ggc_mark_tree_varray): Likewise.
      	(ggc_mark_tree_hash_table): Likewise.
      	* ggc-simple.c: Include hash.h.
      	(ggc_mark_tree_hash_table_ptr): New function.
      	(ggc_mark_tree_hash_table_entry): Likewise.
      	(ggc_mark_tree_hash_table): Likewise.
      	(ggc_add_tree_hash_table_root): Likewise.
      	* varray.h (const_equiv_data): Use struct rtx_def *, rather than
      
      	* profile.c (output_func_start_profiler): Remove apparently
      	nonsensical call to start_sequence.
      
      From-SVN: r29134
      Mark Mitchell committed
    • clipper.c (clipper_va_start): Fix typos. · 7a3842b3
              * clipper/clipper.c (clipper_va_start): Fix typos.
      
              * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
              * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
              (spur_va_arg): New stub.
      
              * configure.in: Comment out pyramid.
      
      From-SVN: r29133
      Richard Henderson committed
  2. 05 Sep, 1999 18 commits
    • Makefile.in (ggc-simple.o): Depend on varray.h. · 2168d24a
      	* Makefile.in (ggc-simple.o): Depend on varray.h.
      	(rtl.o): Depend on ggc.h.
      	(genattrtab.o): Depend on ggc.h.
      	(print-tree.o): Likewise.
      	(fold-const.o): Likewise.
      	* emit-rtl.c (sequence_element_free_list): Remove, and all references.
      	(make_insn_raw): Don't cache insns when GC'ing.
      	(emit_insn_before): Likewise.
      	(emit_insn_after): Likewise.
      	(emit_insn): Likewise.
      	(start_sequence): Use xmalloc to allocate the sequence_stack.
      	(end_sequence): Add free to free it.
      	(gen_sequence): Don't cache insns when GC'ing.
      	(clear_emit_caches): Don't use sequence_element_free_list.
      	(init_emit): Use xcalloc, not xmalloc+bzero.
      	* fold-const.c (size_int_wide): Kill the cache, when GC'ing.
      	* function.c (pop_function_context_from): Use free to free the
      	fixup_var_refs_queue.
      	(put_reg_into_stack): Allocate it with xmalloc.
      	* genattrtab.c: Include ggc.h.
      	(operate_exp): Don't use obstack_free when GC'ing.
      	(simplify_cond): Likewise.
      	(simplify_text_exp): Likewise.
      	(optimize_attrs): Likewise.
      	* gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
      	GC'ing.
      	(gencode): Generate a #include for ggc.h.
      	* ggc-callbacks.c (ggc_p): Define it to zero.
      	* ggc-none.c (ggc_p): Likewise.
      	* ggc-simple.c: Include varray.h.
      	(ggc_mark_tree_varray): New function.
      	(ggc_add_tree_varray_root): Likewise.
      	(ggc_mark_tree_varray_ptr): Likewise.
      	* ggc.h (ggc_p): Declare.
      	(varray_head_tag): Likewise.
      	(ggc_add_tree_varray_root): Declare.
      	* print-tree.c (print_node): Don't check for TREE_PERMANENT
      	inconsistencies when GC'ing.
      	* rtl.c: Include ggc.h.
      	(rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
      	(rtx_alloc): Use ggc_alloc_rtx when GC'ing.
      	(rtx_free): Don't call obstack_free when GC'ing.
      	* toplev.c (rest_of_compilation): Call ggc_collect after every
      	pass, if GC'ing.
      	* tree.c (push_obstacks): Do nothing, if GC'ing.
      	(pop_obstacks_nochange): Likewise.
      	(pop_obstacks): Likewise.
      	(make_node): Use ggc_alloc_tree when GC'ing.
      	(copy_node): Likewise.
      	(get_identifier): Use ggc_alloc_string when GC'ing.
      	(build_string): Likewise.
      	(make_tree_vec): Use ggc_alloc_tree when GC'ing.
      	(tree_cons): Likewise.
      	(build1): Likewise.
      	(type_hash_canon): Don't call obstack_free when GC'ing.
      
      From-SVN: r29131
      Mark Mitchell committed
    • four new tests, fix commentary in fifth · 76292ef8
      From-SVN: r29130
      Craig Burley committed
    • Makefile.in (parse.o): Depend on ggc.h. · e1240767
      	* Makefile.in (parse.o): Depend on ggc.h.
      	(decl2.o): Depend on ggc.h.
      	(init.o): Depend on ggc.h.
      	* cp-tree.h (init_decl2): Declare.
      	(cp_parse_init): Likewise.
      	* decl.c (ggc_p): Define to zero.
      	(mark_saved_scope): New function.
      	(init_decl_processing): Call cp_parse_init, and cp_decl2.
      	Register GC roots.
      	(expand_static_init): Add GC roots.
      	* decl2.c: Include ggc.h.
      	(init_decl2): New function.
      	* init.c: Include ggc.h.
      	(init_init_processing): Add GC roots.
      	* parse.y: Include ggc.h.
      	(cp_parse_init): New function.
      
      From-SVN: r29129
      Mark Mitchell committed
    • Fix typo in last change. · f5a8be8e
      From-SVN: r29128
      Mark Mitchell committed
    • integrate.c (function_cannot_inline_p): Do not inline functions with forced labels. · b9096844
      	* integrate.c (function_cannot_inline_p): Do not inline
      	functions with forced labels.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      
      From-SVN: r29127
      Richard Henderson committed
    • Makefile.in (parse.o): Depend on ggc.h. · fc6af6e3
      	* Makefile.in (parse.o): Depend on ggc.h.
      	(decl2.o): Depend on ggc.h.
      	(init.o): Depend on ggc.h.
      	* cp-tree.h (init_decl2): Declare.
      	(cp_parse_init): Likewise.
      	* decl.c (ggc_p): Define to zero.
      	(mark_saved_scope): New function.
      	(init_decl_processing): Call cp_parse_init, and cp_decl2.
      	Register GC roots.
      	(expand_static_init): Add GC roots.
      	* decl2.c: Include ggc.h.
      	(init_decl2): New function.
      	* init.c: Include ggc.h.
      	(init_init_processing): Add GC roots.
      	* parse.y: Include ggc.h.
      	(cp_parse_init): New function.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r29126
      Richard Henderson committed
    • Makefile.in (ggc-simple.o): Depend on varray.h. · a3770a81
      	* Makefile.in (ggc-simple.o): Depend on varray.h.
      	(rtl.o): Depend on ggc.h.
      	(genattrtab.o): Depend on ggc.h.
      	(print-tree.o): Likewise.
      	(fold-const.o): Likewise.
      	* emit-rtl.c (sequence_element_free_list): Remove, and all references.
      	(make_insn_raw): Don't cache insns when GC'ing.
      	(emit_insn_before): Likewise.
      	(emit_insn_after): Likewise.
      	(emit_insn): Likewise.
      	(start_sequence): Use xmalloc to allocate the sequence_stack.
      	(end_sequence): Add free to free it.
      	(gen_sequence): Don't cache insns when GC'ing.
      	(clear_emit_caches): Don't use sequence_element_free_list.
      	(init_emit): Use xcalloc, not xmalloc+bzero.
      	* fold-const.c (size_int_wide): Kill the cache, when GC'ing.
      	* function.c (pop_function_context_from): Use free to free the
      	fixup_var_refs_queue.
      	(put_reg_into_stack): Allocate it with xmalloc.
      	* genattrtab.c: Include ggc.h.
      	(operate_exp): Don't use obstack_free when GC'ing.
      	(simplify_cond): Likewise.
      	(simplify_text_exp): Likewise.
      	(optimize_attrs): Likewise.
      	* gengentrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
      	GC'ing.
      	(gencode): Generate a #include for ggc.h.
      	* ggc-callbacks.c (ggc_p): Define it to zero.
      	* ggc-none.c (ggc_p): Likewise.
      	* ggc-simple.c: Include varray.h.
      	(ggc_mark_tree_varray): New function.
      	(ggc_add_tree_varray_root): Likewise.
      	(ggc_mark_tree_varray_ptr): Likewise.
      	* ggc.h (ggc_p): Declare.
      	(varray_head_tag): Likewise.
      	(ggc_add_tree_varray_root): Declare.
      	* print-tree.c (print_node): Don't check for TREE_PERMANENT
      	inconsistencies when GC'ing.
      	* rtl.c: Include ggc.h.
      	(rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
      	(rtx_alloc): Use ggc_alloc_rtx when GC'ing.
      	(rtx_free): Don't call obstack_free when GC'ing.
      	* toplev.c (rest_of_compilation): Call ggc_collect after every
      	pass, if GC'ing.
      	* tree.c (push_obstacks): Do nothing, if GC'ing.
      	(pop_obstacks_nochange): Likewise.
      	(pop_obstacks): Likewise.
      	(make_node): Use ggc_alloc_tree when GC'ing.
      	(copy_node): Likewise.
      	(get_identifier): Use ggc_alloc_string when GC'ing.
      	(build_string): Likewise.
      	(make_tree_vec): Use ggc_alloc_tree when GC'ing.
      	(tree_cons): Likewise.
      	(build1): Likewise.
      	(type_hash_canon): Don't call obstack_free when GC'ing.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r29125
      Richard Henderson committed
    • Daily bump. · 616aedda
      From-SVN: r29124
      Jeff Law committed
    • haifa-sched.c (schedule_block): Use next_nonnote_insn instead of NEXT_INSN when... · 0d8b2ca1
              * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
              of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
      
      From-SVN: r29123
      Richard Henderson committed
    • Makefile.in (stor-layout.o): Depend on ggc.h. · d7db6646
      	* Makefile.in (stor-layout.o): Depend on ggc.h.
      	(expr.o): Depend on ggc.h.
      	(profile.o): Depend on ggc.h.
      	(stor-layout.o): Depend on ggc.h.
      	* emit-rtl.c (init_emit_once): Add gc roots.
      	* expr.c: Include ggc.h.
      	(emit_block_move): Add gc roots.
      	(clear_storage): Likewise.
      	* expr.h (init_stor_layout_once): New function.
      	* profile.c: Include ggc.h.
      	(init_arc_profiler): profiler_label is a root.
      	* scan.c (make_sstring_space): Trust xrealloc to function
      	correctly with first parameter NULL.
      	* stor-layout.c: Include ggc.h.
      	(set_sizetype): Add gc root.
      	(init_stor_layout_once): New function.
      	* toplev.c (compile_file): Call it.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r29122
      Richard Henderson committed
    • POTFILES.in: Add cppfiles.c, cppinit.c, cppspec.c. · b2242789
      1999-09-05  Jeff Garzik  <garzik@havoc.gtf.org>
      
      	* POTFILES.in: Add cppfiles.c, cppinit.c, cppspec.c.
      
      From-SVN: r29121
      Jeff Garzik committed
    • decl.c (init_decl_processing): Set mark_lang_status. · b4b8bee7
      	* decl.c (init_decl_processing): Set mark_lang_status.
      	(lang_mark_false_label_stack): Adjust prototype.
      	* decl2.c (grok_function_init): Remove extraneous declaration of
      	abort_fndecl.
      
      From-SVN: r29120
      Mark Mitchell committed
    • Makefile.in (tree.o): Depend on ggc.h. · 87ff9c8e
      	* Makefile.in (tree.o): Depend on ggc.h.
      	(varasm.o): Likewise.
      	(function.o): Likewise.
      	(stmt.o): Likewise.
      	(except.o): Likewise.
      	(optabs.o): Likewise.
      	(emit-rtl.o): Likewise.
      	* emit-rtl.c: Include ggc.h.
      	(sequence_element_free_list): Remove, and all references.
      	(mark_sequence): New functions.
      	(mark_emit_state): New function.
      	* except.c: Include ggc.h.
      	(mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
      	(mark_tree_label_node): New functions.
      	(mark_eh_state): New function.
      	* function.c: Include ggc.h.
      	(mark_temp_slot, mark_function_chain): New functions.
      	(mark_function_state): New function.
      	(init_function_once): New function.
      	* function.h (init_function_once): New function.
      	* ggc-callbacks.c (lang_mark_false_label_stack): New function.
      	* ggc.h (label_node): Declare.
      	(eh_status, emit_status, stmt_status, varasm_status): Likewise.
      	(lang_mark_false_label_stack): New function.
      	(mark_temp_slot): Remove declaration.
      	(mark_function_chain): Likewise.
      	(mark_eh_state): Adjust prototype.
      	(mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
      	Likewise.
      	* optabs.c: Include ggc.h.
      	(mark_optab): New function.
      	(init_optabs): Add gc roots.
      	* stmt.c: Include ggc.h.
      	(mark_cond_nesting, mark_loop_nesting): New functions.
      	(mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
      	(mark_stmt_state): New function.
      	* toplev.c (compile_file): Call init_function_once.
      	* tree.c: Include ggc.h.
      	(type_hash): Move declaration earlier in file.
      	(TYPE_HASH_SIZE, type_hash_table): Likewise.
      	(init_obstacks): Add gc roots.
      	(mark_type_hash): New function.
      	* varasm.c: Include ggc.h.
      	(mark_pool_constant): New function.
      	(mark_varasm_state): New function.
      
      Co-Authored-By: Bernd Schmidt <bernds@cygnus.co.uk>
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r29119
      Richard Henderson committed
    • c-decl.c (struct language_function): Renamed from struct c_function. · e2ecd91c
      	* c-decl.c (struct language_function): Renamed from struct c_function.
      	Delete elt NEXT.
      	(c_function_chain): Delete.
      	(push_c_function_context): New arg F.  Don't warn about nested
      	functions here.  Fill LANGUAGE elt of F.  Delete code to update
      	c_function_chain.  Don't call push_function_context.
      	(pop_c_function_context): New arg F.  Restore from there instead of
      	from c_function_chain.  Don't call pop_function_context.  Clear out
      	LANGUAGE field of F when done.
      	* c-lang.c: Include "function.h"
      	(lang_init): Initialize save_lang_status and restore_lang_status.
      	* c-parse.in (nested_function, nested_function_notype): Warn about
      	nested functions.  Call push_function_context/pop_function_context
      	instead of the _c_ variants.
      	* c-tree.h (push_c_function_context, pop_c_function_context): Update
      	prototype.
      	* Makefile.in (c-lang.o): Update dependencies.
      
      	* emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
      	regno_pointer_flag, regno_pointer_align.
      	(gen_reg_rtx): Use xrealloc to enlarge them.
      	(free_emit_status): New function.
      	* function.c (mark_machine_status, mark_lang_status): New variables.
      	(assign_stack_local_1): Renamed from assign_outer_stack_local.  Merge
      	in some bits from assign_stack_local.  All callers changed to use new
      	name.
      	(assign_stack_local): Just call assign_stack_local_1.
      	(free_after_compilation): New function.
      	(put_reg_into_stack): Simplify to always call assign_stack_local_1.
      	(trampoline_address): Likewise.
      	(assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
      	(prepare_function_start): Explicitly clear some more variables.
      	* function.h (struct function): New elt can_garbage_collect.
      	(mark_machine_status, mark_lang_status): Declare variables.
      	(free_after_compilation, free_emit_status, free_varasm_status,
      	init_varasm_status): Declare functions.
      	* toplev.c (rest_of_compilation): Call free_after_compilation when
      	done with the current function.
      	* varasm.c (free_varasm_status): New function.
      
      From-SVN: r29117
      Bernd Schmidt committed
    • Make-lang.in (f771): Depend on ggc-callbacks.o. · 6308c574
      	* Make-lang.in (f771): Depend on ggc-callbacks.o.
      	* Makefile.in (OBJS): Add ggc-callbacks.o.
      	(OBJDEPS): Likewise.
      
      From-SVN: r29116
      Mark Mitchell committed
    • sparc.h (EXPAND_BUILTIN_VA_START): Define. · a8b2c8a1
              * sparc.h (EXPAND_BUILTIN_VA_START): Define.
              (EXPAND_BUILTIN_VA_ARG): Define.
              * sparc.c (sparc_va_start): New.
              (sparc_va_arg): New.
      
      From-SVN: r29115
      Richard Henderson committed
  3. 04 Sep, 1999 17 commits
    • Makefile.in (C_AND_C_OBJS): Add ggc-callbacks.o. · c24d7ed2
      	* Makefile.in (C_AND_C_OBJS): Add ggc-callbacks.o.
      	(OBJS): Add $(GGC).
      	(ggc-callbacks.o): New target.
      	* ggc-callbacks.c: New file.
      
      From-SVN: r29113
      Mark Mitchell committed
    • c4x.h (CALLER_SAVE_PROFITABLE): Disable. · ad3781e1
      	* config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
      
      This has been disabled since caller-save has marginal benefit on the c3x/c4x
      and it avoids a long standing caller-save bug.
      
      From-SVN: r29112
      Michael Hayes committed
    • Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o. · 03705c95
      GCC:
      
      Sat Sep  4 13:44:01 1999  Mark Mitchell  <mark@codesourcery.com>
      
      	* Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
      	(OBJS): Add $(GCC).
      	(ggc-callbacks.o): New target.
      	* ggc-callbacks.c: New file.
      
      Chill:
      
      1999-09-04  Mark Mitchell  <mark@codesourcery.com>
      
      	* Make-lang.in (cc1chill): Depend on ggc-callbacks.o.
      	* Makefile.in (CHILL_OBJS): Add ggc-callbacks.o.
      
      C++:
      
      1999-09-04  Mark Mitchell  <mark@codesourcery.com>
      
      	* Make-lang.in (cc1plus): Remove dependency on GGC.
      	* Makefile.in (OBJS): Don't mention ggc-simple.o.
      	(OBJDEPS): Don't mention ggc-simple.o.
      
      F77:
      
      Sat Sep  4 13:46:27 1999  Mark Mitchell  <mark@codesourcery.com>
      
      	* Make-lang.in (f771): Depend on ggc-callbacks.o.
      	* Makefile.in (OBJS): Add ggc-callbacks.o.
      	(OBJDEPS): Likewise.
      
      Objc:
      
      1999-09-04  Mark Mitchell  <mark@codesourcery.com>
      
      	* Make-lang.in (jc1): Depend on ggc-callbacks.o.
      	* Makefile.in (OBJS): Add ggc-callbacks.o.
      	(OBJDEPS): Likewise.
      
      From-SVN: r29111
      Mark Mitchell committed
    • Convert many single variables to arrays · 34220a12
      From-SVN: r29110
      Bernd Schmidt committed
    • Make-lang.in (cc1plus): Depend on $(GGC). · 6c7c62c6
      	* Make-lang.in (cc1plus): Depend on $(GGC).
      	* Makefile.in (OBJS): Add ggc-simple.o.
      	(OBJDEPS): Likewise.
      	* cp-tree.h (language_function): Rename members to `x_' versions;
      	we now have x_named_labels, x_ctor_label, x_dtor_label,
      	x_base_init_list, x_member_init_list, x_base_init_expr,
      	x_current_class_ptr, x_current_class_ref, x_last_tree,
      	x_last_expr_type, x_last_dtor_insn, x_last_parm_cleanup_insn, and
      	x_result_rtx.
      	(dtor_label, ctor_label, current_base_init_list,
      	current_member_init_list, base_init_expr, current_class_ptr,
      	current_class_ref, last_tree, last_expr_type): Adjust accordingly.
      	* decl.c: Include ggc.h.
      	(last_dtor_insn): Adjust to use x_ names.
      	(last_parm_cleanup_insn): Likewise.
      	(original_result_rtx): Likewise.
      	(named_labels): Likewise.
      	(mark_binding_level): New function.
      	(mark_cp_function_context): Likewise.
      	(mark_false_label_stack): Likewise.
      	(lang_mark_tree): Likewise.
      	(lang_cleanup_tree): Likewise.
      
      From-SVN: r29109
      Mark Mitchell committed
    • Make-lang.in (cc1plus): Depend on $(GGC). · 4519c0a8
      	* Make-lang.in (cc1plus): Depend on $(GGC).
      	* Makefile.in (OBJS): Add ggc-simple.o.
      	(OBJDEPS): Likewise.
      	* cp-tree.h (language_function): Rename members to `x_' versions;
      	we now have x_named_labels, x_ctor_label, x_dtor_label,
      	x_base_init_list, x_member_init_list, x_base_init_expr,
      	x_current_class_ptr, x_current_class_ref, x_last_tree,
      	x_last_expr_type, x_last_dtor_insn, x_last_parm_cleanup_insn, and
      	x_result_rtx.
      	(dtor_label, ctor_label, current_base_init_list,
      	current_member_init_list, base_init_expr, current_class_ptr,
      	current_class_ref, last_tree, last_expr_type): Adjust accordingly.
      	* decl.c: Include ggc.h.
      	(last_dtor_insn): Adjust to use x_ names.
      	(last_parm_cleanup_insn): Likewise.
      	(original_result_rtx): Likewise.
      	(named_labels): Likewise.
      	(mark_binding_level): New function.
      	(mark_cp_function_context): Likewise.
      	(mark_false_label_stack): Likewise.
      	(lang_mark_tree): Likewise.
      	(lang_cleanup_tree): Likewise.
      
      From-SVN: r29107
      Mark Mitchell committed
    • Makefile.in (GGC, GGC_LIB): New. · 0a25f1f5
      	* Makefile.in (GGC, GGC_LIB): New.
      	(HOST_RTL): Include ggc-none.o.
      	(ggc-simple.o): New target.
      	(ggc-none.o): Likewise.
      	* tree.h (tree_common): Add gc_mark.
      	* rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
      	(struct rtvec_def): Add gc_mark.
      	* emit-rtl.c (global_rtl): Update static initializers to contain
      	enough initializers.
      	* ggc.h, ggc-none.c, ggc-simple.c: New files.
      	* toplev.c (gc_time): New variable.
      	(all_time): New variable.
      	(compile_file): Print gc time.
      	(print_time): Calculate percentage of the whole.
      
      From-SVN: r29106
      Richard Henderson committed
    • Clean up conflict marks introduced in revision 1.4254. · 482cbc74
      From-SVN: r29105
      Alexandre Oliva committed
    • dummy checkin to prevent merge lossage · e3de40e4
      From-SVN: r29102
      Jeff Law committed
    • Change memory mangement and constant pool handling for nested functions to match… · 36edd3cc
      Change memory mangement and constant pool handling for nested functions to match that of normal functions; add init_machine_status mechanism.
      
      From-SVN: r29101
      Bernd Schmidt committed
    • Daily bump. · c8d90e90
      From-SVN: r29099
      Jeff Law committed
    • c4x.md (rptb_init): Renamed from *rptb_init. · f0cae6c7
      Sat Sep  4 16:56:28 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
      
      	* config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
      	(doloop_begin):  Simplify pattern and use emit_jump_insn.
      	(doloop_end): Simplify pattern, switch operand order,
      	and use emit_jump_insn.
      
      From-SVN: r29098
      Michael Hayes committed
    • cast-qual-1.c: Add missing dg-bogus tag. · edf50130
      1999-09-03 19:31 -0700  Zack Weinberg  <zack@bitmover.com>
      
      	* gcc.dg/cast-qual-1.c: Add missing dg-bogus tag.
      	* gcc.dg/compare1.c: Fix typo.
      	* gcc-dg/cpp-unc.c, cpp-unc1.c, cpp-unc2.c, cpp-unc3.c: New
      	files which test the preprocessor's unterminated conditional
      	diagnostics.
      
      From-SVN: r29097
      Zack Weinberg committed
    • Makefile.in (CXX_TREE_H): Include function.h. · 99dccabc
      
      	* Makefile.in (CXX_TREE_H): Include function.h.
      	(decl.o): Don't depend on function.h.
      	(decl2.o): Likewise.
      	(typeck.o): Likewise.
      	(init.o): Likewise.
      	(method.o): Likewise.
      	* cp-tree.h: Include function.h.
      	(cp_function): Rename to language_function.  Remove next.
      	(cp_function_chain): Make it a macro, not a variable.
      	(push_cp_function_context): Don't declare.
      	(pop_cp_function_context): Likewise.
      	* decl.c: Don't include function.h.
      	(push_cp_function_context): Make it static.  Make it suitable for
      	a save_lang_status callback.
      	(pop_cp_function_context): Likewise.
      	(maybe_push_to_top_level): Call push_function_context_to, not
      	push_cp_function_context.
      	(pop_from_top_level): Call pop_function_context_from, not
      	pop_cp_function_context.
      	(init_decl_processing):  Set save_lang_status and
      	restore_lang_status.  Call push_function_context_to, not
      	push_cp_function_context.
      	(cp_function_chain): Remove.
      	* decl2.c: Don't include function.h.
      	* except.c: Don't include function.h.
      	(start_anon_func): Call push_function_context_to, not
      	push_cp_function_context.
      	(end_anon_func):  Call pop_function_context_from, not
      	pop_cp_function_context.
      	* init.c: Don't include function.h.
      	* lex.c (begin_definition_of_inclass_inline): Call
      	push_function_context_to, not push_cp_function_context.
      	(process_next_inline):  Call pop_function_context_from, not
      	pop_cp_function_context.
      	* method.c: Don't include function.h.
      	(synthesize_method): Call push_function_context_to, not
      	push_cp_function_context.  Call pop_function_context_from, not
      	pop_cp_function_context.
      	* typeck.c: Don't include function.h.
      
      From-SVN: r29096
      Mark Mitchell committed