1. 08 Sep, 1999 25 commits
  2. 07 Sep, 1999 15 commits
    • parse.h: Undefine DELAY if it's defined. · 66815bff
      Tue Sep  7 15:59:56 1999  Dave Brolley  <brolley@cygnus.com>
      
      	* parse.h: Undefine DELAY if it's defined.
      	(PACK,NOPACK,POS): Remove erroneous comments regarding these tokens.
      	Also, move them to their proper place alphabetically.
      
      From-SVN: r29175
      Dave Brolley committed
    • Makefile.in (tree.o): Depend on ggc.h. · fdfcc44c
      	* Makefile.in (tree.o): Depend on ggc.h.
      	* class.c (make_method_vec): Remove.
      	(free_method_vec): Likewise.
      	(free_method_vecs): Remove.
      	(add_method): Don't use them.
      	* cp-tree.def (PTRMEM_CST): Make it longer.
      	(TEMPLATE_PARM_INDEX): Make it shorter.
      	* cp-tree.h (BINDING_HAS_LEVEL_P): New macro.
      	(template_parm_index): Remove RTL field.
      	(ptrmem_cst): Add RTL field.
      	(finish_function): Removed parameter.
      	(process_next_inline): Change prototype.
      	(init_cplus_unsave): Rename to init_tree.
      	(binding_init): Remove.
      	* decl.c (free_binding_nodes): Remove.
      	(push_binding): Don't use them.  Set BINDING_HAS_LEVEL_P.
      	(pop_binding): Don't use free_binding_nodes.
      	(free_binding_vecs): Remove.
      	(store_bindings): Don't use them.
      	(pop_from_top_level): Likewise.
      	(lookup_namespace_name): Simplify.
      	(build_typename_type): Don't use obstack_free.
      	(unqualified_namespace_lookup): Simplify.
      	(lookup_name_real): Simplify.
      	(start_function): Remove comment about leaks.
      	(finish_function): Removed nested parameter.  Call
      	expand_end_bindings even when building_stmt_tree.
      	Call ggc_push_context and ggc_pop_context around
      	rest_of_compilation, if necessary.
      	(mark_cp_function_context): Handle a NULL language-context.
      	(lang_mark_false_label_stack): Fix typo.
      	(lang_mark_tree): Handle CPLUS_BINDING, OVERLOAD,
      	TEMPLATE_PARM_INDEX.  Handle the funny TYPE_LANG_SPECIFIC on
      	pointer to method types.
      	(lang_cleanup_tree): Use free to free TYPE_LANG_SPECIFIC.
      	* decl2.c (finish_objects): Adjust call to finish_function.
      	(finish_static_store_duration_function): Likewise.
      	(do_nonmember_using_decl): Remove call to binding_init.
      	* except.c (end_anon_func): Adjust call to finish_function.
      	* lex.c (mark_impl_file_chain): New function.
      	(init_parse): Call init_tree, not init_cplus_unsave.
      	Add GC roots.
      	(cp_pramga_interface): Use xmalloc, not permalloc.
      	(cp_pragma_implementation): Likewise.
      	(begin_definition_of_inclass_inline): Simplify.
      	(process_next_inline): Adjust prototype.
      	(do_scoped_id): Don't call binding_init.
      	(make_lang_type): Allocate TYPE_LANG_SPECIFIC with xmalloc.
      	* method.c (emit_thunk): Adjust call to finish_function.
      	(synthesize_method): Likewise.
      	* parse.y (%union): Add a new `pi' variant.
      	(PRE_PARSED_FUNCTION_DECL): Use it.
      	(fn.defpen): Likewise.
      	(fndef): Adjust call to finish_function.
      	* pt.c (instantiate_decl): Likewise.
      	* rtti.c (syntheisze_tinfo_fn): Likewise.
      	* semantics.c (expand_body): Likewise.
      	* tree.c: Include ggc.h.
      	(mark_list_hash): New function.
      	(binding_init): Remove.
      	(init_cplus_unsave): Rename to ...
      	(init_tree): This.  Add GC roots.
      
      From-SVN: r29173
      Mark Mitchell committed
    • Makefile.in (tree.o): Depend on ggc.h. · 87e3dbc9
      	* Makefile.in (tree.o): Depend on ggc.h.
      	* class.c (make_method_vec): Remove.
      	(free_method_vec): Likewise.
      	(free_method_vecs): Remove.
      	(add_method): Don't use them.
      	* cp-tree.def (PTRMEM_CST): Make it longer.
      	(TEMPLATE_PARM_INDEX): Make it shorter.
      	* cp-tree.h (BINDING_HAS_LEVEL_P): New macro.
      	(template_parm_index): Remove RTL field.
      	(ptrmem_cst): Add RTL field.
      	(finish_function): Removed parameter.
      	(process_next_inline): Change prototype.
      	(init_cplus_unsave): Rename to init_tree.
      	(binding_init): Remove.
      	* decl.c (free_binding_nodes): Remove.
      	(push_binding): Don't use them.  Set BINDING_HAS_LEVEL_P.
      	(pop_binding): Don't use free_binding_nodes.
      	(free_binding_vecs): Remove.
      	(store_bindings): Don't use them.
      	(pop_from_top_level): Likewise.
      	(lookup_namespace_name): Simplify.
      	(build_typename_type): Don't use obstack_free.
      	(unqualified_namespace_lookup): Simplify.
      	(lookup_name_real): Simplify.
      	(start_function): Remove comment about leaks.
      	(finish_function): Removed nested parameter.  Call
      	expand_end_bindings even when building_stmt_tree.
      	Call ggc_push_context and ggc_pop_context around
      	rest_of_compilation, if necessary.
      	(mark_cp_function_context): Handle a NULL language-context.
      	(lang_mark_false_label_stack): Fix typo.
      	(lang_mark_tree): Handle CPLUS_BINDING, OVERLOAD,
      	TEMPLATE_PARM_INDEX.  Handle the funny TYPE_LANG_SPECIFIC on
      	pointer to method types.
      	(lang_cleanup_tree): Use free to free TYPE_LANG_SPECIFIC.
      	* decl2.c (finish_objects): Adjust call to finish_function.
      	(finish_static_store_duration_function): Likewise.
      	(do_nonmember_using_decl): Remove call to binding_init.
      	* except.c (end_anon_func): Adjust call to finish_function.
      	* lex.c (mark_impl_file_chain): New function.
      	(init_parse): Call init_tree, not init_cplus_unsave.
      	Add GC roots.
      	(cp_pramga_interface): Use xmalloc, not permalloc.
      	(cp_pragma_implementation): Likewise.
      	(begin_definition_of_inclass_inline): Simplify.
      	(process_next_inline): Adjust prototype.
      	(do_scoped_id): Don't call binding_init.
      	(make_lang_type): Allocate TYPE_LANG_SPECIFIC with xmalloc.
      	(emit_thunk): Adjust call to finish_function.
      	(synthesize_method): Likewise.
      	* parse.y (%union): Add a new `pi' variant.
      	(PRE_PARSED_FUNCTION_DECL): Use it.
      	(fn.defpen): Likewise.
      	(fndef): Adjust call to finish_function.
      	(instantiate_decl): Likewise.
      	(rtti.c): Likewise.
      	(semantics.c): Likewise.
      	* tree.c: Include ggc.h.
      	(mark_list_hash): New function.
      	(binding_init): Remove.
      	(init_cplus_unsave): Rename to ...
      	(init_tree): This.  Add GC roots.
      
      From-SVN: r29172
      Mark Mitchell committed
    • cpperror.c (cpp_file_line_for_message): Constify a char*. · bcc5cac9
      	* cpperror.c (cpp_file_line_for_message): Constify a char*.
      
      	* cppexp.c (parse_number, parse_charconst, cpp_lex,
      	cpp_parse_expr): Add static prototypes.
      	(parse_charconst): Don't cast away const-ness.
      	(token): Constify a char*.
      
      	* cppfiles.c (file_name_list, include_hash, find_include_file,
      	finclude, initialize_input_buffer): Constify a char*.
      	(file_cleanup, find_position): Add static prototypes.
      
      	* cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
      	collect_expansion): Add static prototypes.
      	(cpp_install, create_definition, monthnames): Constify a char*.
      
      	* cpphash.h (cpp_install): Likewise.
      
      	* cppinit.c (known_suffixes, default_include,
      	dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
      	(base_name, dump_special_to_buffer, initialize_dependency_output):
      	Add static prototypes.
      
      	* cpplib.c (my_strerror): Constify a char*.
      	(null_underflow, null_cleanup, skip_comment, copy_comment,
      	copy_rest_of_line, handle_directive, pass_thru_directive,
      	get_directive_token, read_line_number, cpp_print_file_and_line,
      	v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
      	v_cpp_warning_with_line, detect_if_not_defined,
      	consider_directive_while_skipping): Add static prototypes.
      	(pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
      	cpp_pedwarn_with_file_and_line): Constify a char*.
      
      	* cpplib.h (cpp_options, include_hash, progname, definition,
      	cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
      	check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
      	find_include_file, deps_output, include_hash): Constify a char*.
      
      	* cppmain.c (progname): Constify.
      	(main): Add prototype.  Use return, not exit.
      
      	* fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
      	recognized_macro, check_macro_names, read_scan_file, write_rbrac,
      	inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
      	check_protection): Add static prototype.
      	(xfree): Remove.
      	(progname, recognized_macrom, recognized_extern): Constify a char*.
      	(main): Add prototype.
      
      	* gen-protos.c (progname): Constify a char*.
      
      From-SVN: r29171
      Kaveh R. Ghazi committed
    • emit-rtl.c (free_emit_status): Take decl as a parameter. · 21cd906e
      	* emit-rtl.c (free_emit_status): Take decl as a parameter.
      	(init_emit_once): Add more GC roots.
      	* except.c (mark_func_eh_entry): New function.
      	(mark_eh_node): Mark false_label and rethrow_label.
      	(init_eh): Add more GC roots.
      	* function.c (free_after_compilation): Take decl as a paramter.
      	Call free_stmt_status.
      	(mark_function_state): Don't assume x_parm_reg_stack_loc is
      	non-NULL.
      	* function.h (free_after_compilation): Change prototype.
      	(free_varasm_status): Likewise.
      	(free_emit_status): Likewise.
      	(free_stmt_status): New function.
      	* ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
      	Remove, replacing with ...
      	(ggc_status): New structure.
      	(ggc_chain): New variable.
      	(init_gcc): Define.
      	(ggc_push_context): New function.
      	(ggc_pop_context): Likewise.
      	(ggc_alloc_rtx): Adjust for use of ggc_chain.
      	(ggc_alloc_rtvec): Likewise.
      	(ggc_alloc_tree): Likewise.
      	(ggc_alloc_string): Likewise.
      	(ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
      	(ggc_mark_tree): Give language-dependent code a chance to mark
      	`x' nodes.
      	(ggc_mark_tree_varray): Handle empty arrays.
      	(ggc_collect): Adjust for use of ggc_chain.  Clear
      	bytes_alloced_since_last_gc.
      	* ggc.h (ggc_pop_context): New function.
      	(ggc_push_context): Likewise.
      	* print-tree.c (print_node): Don't print obstacks when GC'ing.
      	* stmt.c (free_stmt_status): New function.
      	(init_stmt_for_function): Clear last_expr_value.
      	* toplev.c (rest_of_compilation): Always call free_after_compilation.
      	Conditionalize call to ggc_collect.
      	(main): Call init_ggc.
      	* tree.c (push_obstacks): Do the push, even when GC'ing.
      	(push_obstacks_nochange): Likewise.
      	(pop_obstacks): Liekwise.
      	* varasm.c (free_varasm_status): Take decl as a parameter.
      
      From-SVN: r29170
      Mark Mitchell committed
    • mips.h (MULTILIB_ENDIAN_DEFAULT): New macro. · 498ffa68
      	* config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
      	(MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
      	* config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
      	* config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
      
      From-SVN: r29168
      Gavin Romig-Koch committed
    • mips.h (MULTILIB_ENDIAN_DEFAULT): New macro. · cbab8d02
      	* config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
      	(MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
      	* config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
      	* config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
      
      From-SVN: r29167
      Gavin Romig-Koch committed
    • * pa/x-pa-mpeix: New file for the MPE port. · b48b989a
      From-SVN: r29166
      Mark Klein committed
    • * pa/quadlib.asm: New file for long double support. · 77f3f7d7
      From-SVN: r29165
      Mark Klein committed
    • Commit parts that were missing in Mark's last commit · afe3d090
      From-SVN: r29164
      Bernd Schmidt committed
    • configure.in: Add hppa1.0-*-mpeix for MPE port. · 6bc2c8c8
              * configure.in: Add hppa1.0-*-mpeix for MPE port.
              * configure: Rebuilt.
      
      From-SVN: r29163
      Mark Klein committed
    • * final.c (shorten_branches): Fix last change. · d0f3d9c2
      From-SVN: r29160
      Andreas Schwab committed
    • Daily bump. · dbc63259
      From-SVN: r29157
      Jeff Law committed
    • Typo from merge. · 6e3b1d34
      From-SVN: r29153
      Jeff Law committed
    • * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete. · 7617c94b
      From-SVN: r29152
      Jeffrey A Law committed