summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,ghazi1999-09-0811-64/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29208 138bc75d-0d04-0410-961f-82ee72b054a4
* Hapless User Hint for gperfkorbb1999-09-085-5/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29207 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc-simple.c (init_ggc): Absorb the old init.rth1999-09-082-22/+22
| | | | | | | | | (ggc_push_context): Use xcalloc. (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise. (ggc_collect): Add [rvts] tags to the collection stats. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29206 138bc75d-0d04-0410-961f-82ee72b054a4
* * lists.c: Include ggc.h.rth1999-09-083-1/+24
| | | | | | | | (zap_lists): New. (init_EXPR_INSN_LIST_cache): Install it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29205 138bc75d-0d04-0410-961f-82ee72b054a4
* * cccp.c (main): Fix handling of -include and -imacros options.schwab1999-09-082-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29204 138bc75d-0d04-0410-961f-82ee72b054a4
* * g++.old-deja/g++.other/sizeof3.C: New test.nathan1999-09-085-2/+73
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29203 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add mpeix.mt make fragment.law1999-09-082-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29202 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpplib.c (cpp_push_buffer): Fix order of arguments.law1999-09-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29201 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (xmemdup): Add prototype for new function.law1999-09-082-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29200 138bc75d-0d04-0410-961f-82ee72b054a4
* * xmemdup.c: New xmemdup function.law1999-09-085-4/+30
| | | | | | | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29199 138bc75d-0d04-0410-961f-82ee72b054a4
* * rtl.h (obstack_alloc_rtx): Removed, it's now static inoliva1999-09-082-1/+5
| | | | | | | genrtl.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29198 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-09-085-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29197 138bc75d-0d04-0410-961f-82ee72b054a4
* * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.rth1999-09-083-5/+12
| | | | | | | | * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG and SET_DEST. Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29196 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/c4x/c4x.c: Include ggc.h.m.hayes1999-09-082-7/+28
| | | | | | | | (c4x_add_gc_roots): New function. (c4x_override_options): Call c4x_add_gc_roots. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29195 138bc75d-0d04-0410-961f-82ee72b054a4
* * defaults.h (TARGET_ESC): Move ...rth1999-09-083-5/+10
| | | | | | | * system.h: ... here, where Linas had it in the first place. Silly me. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29194 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix-threads.h (_Jv_PthreadCheckMonitor): Changed testtromey1999-09-083-2/+8
| | | | | | | in __m_count case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29193 138bc75d-0d04-0410-961f-82ee72b054a4
* Linas Vepstas <linas@linas.org>rth1999-09-0819-418/+428
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29192 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: add i370-*-openedition, i370-*-mvs andrth1999-09-083-225/+279
| | | | | | | i370-*-linux targets git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29191 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.guess: Add OS/390 match pattern.rth1999-09-084-3/+21
| | | | | | | | * config.sub: Add mvs, openedition targets. * configure.in (i370-ibm-opened*): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29190 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (ggc_p): Set it to 1.mmitchel1999-09-082-2/+8
| | | | | | | (mark_saved_scope): Add prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29189 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.table: Add openedition target.rth1999-09-083-0/+9
| | | | | | | * config/mh-openedition: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29188 138bc75d-0d04-0410-961f-82ee72b054a4
* * dsp16xxx.c: Include ggc.hmmitchel1999-09-084-2/+44
| | | | | | | | | | | (override_options): Mark GC roots. * mn10200.c: Include ggc.h. (asm_file_start): Mark GC roots. * tahoe.c: Include ggc.h. (extensible_operand): Mark GC roots. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29187 138bc75d-0d04-0410-961f-82ee72b054a4
* * mh-openedition: New file.rth1999-09-082-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29186 138bc75d-0d04-0410-961f-82ee72b054a4
* Linas Vepstas <linas@linas.org>rth1999-09-086-79/+163
| | | | | | | | | | | | | | | | | * README: Add section discussing status of ELF ABI. * i370.c: Fix misc spelling mistakes. (i370_label_scan): Updated notes, exception handling. (i370_function_prolog): Simplify ELF stack handling. * i370.h: (FIXED_REGISTERS): Free up r12 for ELF. (STACK_GROWS_DOWNWARD): ELF stack grows down. (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size. * i370.md: (movdi): Add notes. (floatsidf2): Use stack not rtca for scratch float area. (iorsi3): Correct operand constraints. * x-oe: Restore TAROUTOPTS which are used by pax. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29185 138bc75d-0d04-0410-961f-82ee72b054a4
* * rs6000.c: Include ggc.h.mmitchel1999-09-082-0/+22
| | | | | | | | (rs6000_add_gc_roots): New function. (override_options): Call it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29184 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha.h (alpha_compare): New.rth1999-09-084-43/+81
| | | | | | | | | | | | | (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove. * alpha.c: Likewise for the definitions. (alpha_emit_conditional_branch): Update for alpha_compare. (alpha_emit_conditional_move): Likewise. * alpha.md (cmpdf, cmpdi): Likewise. (setcc patterns): Likewise. Zero alpha_compare after use. (sne): Optimize (x != 0) into (0U < x). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29183 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.rth1999-09-084-66/+65
| | | | | | | | | | | | | | | | | | | (struct machine_function): Declare; add eh_epilogue_sp_ofs. (INIT_EXPANDERS): Remove. * alpha.c: Include ggc.h. (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove. (alpha_init_machine_status, alpha_mark_machine_status): New. (override_options): Install them. (struct machine_function): Moved to alpha.h. (alpha_save_machine_status, alpha_restore_machine_status): Remove. (alpha_init_expanders): Remove. (alpha_return_addr): Adjust to use current_function->machine. (alpha_ra_ever_killed): Likewise. (alpha_expand_epilogue): Likewise. * alpha.md (eh_epilogue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29182 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed orgeoffk1999-09-082-1/+9
| | | | | | | | call-used registers (call-saved registers must still be contiguous and end with r31, of course). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29181 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.rth1999-09-0813-116/+163
| | | | | | | | | | | | | | | | | | | | | | | | (self_promoting_type_p): Delete. (self_promoting_args_p): Move ... * c-common.c: ... here. (c_common_nodes_and_builtins): Initialize lang_type_promotes_to. (simple_type_promotes_to): New. * builtins.c (lang_type_promotes_to): New. (expand_builtin_va_arg): Use it to give diagnostic for illegal types. * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ... * c-common.h: ... here. (self_promoting_args_p, simple_type_promotes_to): Declare. * c-decl.c (duplicate_decls): Use simple_type_promotes_to. (grokdeclarator): Likewise. * tree.h (lang_type_promotes_to): Declare. * cp-tree.h (C_PROMOTING_INTEGER_TYPE_P): Delete. * typeck.c (self_promoting_args_p): Delete. * gcc.dg/va-arg-1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29180 138bc75d-0d04-0410-961f-82ee72b054a4
* * posix-threads.cc (_Jv_CondWait): pthread_ calls return errortromey1999-09-082-3/+6
| | | | | | | code and don't set errno. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29179 138bc75d-0d04-0410-961f-82ee72b054a4
* * search.c (binfo_for_vtable): Use CLASSTYPE_VFIELD_PARENT.jason1999-09-082-51/+25
| | | | | | | (dfs_bfv_queue_p, dfs_bfv_helper, struct bfv_info): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29178 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-09-07 Tom Tromey <tromey@cygnus.com>tromey1999-09-083-9/+77
| | | | | | | | | | | | | | | | | | * posix-threads.cc (_Jv_CondWait): Check `errno' against EINTR, not `r'. Changed `done_sleeping' to a `bool'. 1999-09-07 Matt Welsh <mdw@cs.berkeley.edu * libjava/posix-threads.cc: Added _Jv_ThreadDataKey. Added FLAG_INTERRUPTED to indicate that a thread was interrupted by another thread, rather than by the GC. (_Jv_CondWait): Prevent premature thread wakeup by GC. (_Jv_InitThreads): Initialize _Jv_ThreadDataKey. * libjava/include/posix-threads.h (_Jv_ThreadCurrentData): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29177 138bc75d-0d04-0410-961f-82ee72b054a4
* Add some machine-dependent GC roots.mmitchel1999-09-084-1/+107
| | | | | | | | | | | | | | | | | * sparc.c: Include ggc.h. (sparc_add_gc_roots): New function. (mark_ultrasparc_pipeline_state): Likewise. (override_options): Call sparc_add_gc_roots. * pa.c: Include ggc.h. (pa_add_gc_roots): New function. (mark_deferred_plabels): Likewise. (override_options): Call pa_add_gc_roots. * mips.c: Include ggc.h. (mips_add_gc_roots): New function. (override_options): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29176 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Sep 7 15:59:56 1999 Dave Brolley <brolley@cygnus.com>brolley1999-09-072-14/+14
| | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29175 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (tree.o): Depend on ggc.h.mmitchel1999-09-075-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29173 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (tree.o): Depend on ggc.h.mmitchel1999-09-0713-1550/+1568
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29172 138bc75d-0d04-0410-961f-82ee72b054a4
* * cpperror.c (cpp_file_line_for_message): Constify a char*.ghazi1999-09-0712-81/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29171 138bc75d-0d04-0410-961f-82ee72b054a4
* * emit-rtl.c (free_emit_status): Take decl as a parameter.mmitchel1999-09-0712-73/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29170 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.gavin1999-09-071-0/+7
| | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29168 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.gavin1999-09-073-11/+9
| | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29167 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa/x-pa-mpeix: New file for the MPE port.law1999-09-072-0/+15
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29166 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa/quadlib.asm: New file for long double support.law1999-09-072-0/+361
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29165 138bc75d-0d04-0410-961f-82ee72b054a4
* Commit parts that were missing in Mark's last commitcrux1999-09-076-511/+560
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29164 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add hppa1.0-*-mpeix for MPE port.law1999-09-073-220/+248
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29163 138bc75d-0d04-0410-961f-82ee72b054a4
* * final.c (shorten_branches): Fix last change.schwab1999-09-072-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29160 138bc75d-0d04-0410-961f-82ee72b054a4
* Daily bump.law1999-09-075-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29157 138bc75d-0d04-0410-961f-82ee72b054a4
* Typo from merge.law1999-09-071-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29153 138bc75d-0d04-0410-961f-82ee72b054a4
* * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.law1999-09-072-8/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29152 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2-ss-010999law1999-09-07203-4933/+5892
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29150 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-aux-info.c (concat): Don't define.ghazi1999-09-0724-746/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cccp.c (my_strerror): Likewise. All callers changed to use xstrerror instead. (do_include): Call xstrdup, not xmalloc/strcpy. (grow_outbuf): Don't check if xrealloc returns NULL, it can't. (xmalloc, xrealloc, xcalloc, xstrdup): Don't define. * collect2.c (my_strsignal): Likewise. All callers changed to use strsignal instead. (locatelib): Call xstrdup, not xmalloc/strcpy. * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc. * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy. * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc. * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy. * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero. * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/... * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not malloc/realloc. (find_all_handler_type_matches): Likewise. Don't check return value. (get_new_handler, init_insn_eh_region, process_nestinfo): Call xmalloc, not malloc. (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero. * gcc.c (xstrerror, xmalloc, xrealloc): Don't define. (init_spec): Call xcalloc, not xmalloc/bzero. (set_spec): Call xstrdup, not save_string. (record_temp_file): Call xstrdup, not xmalloc/strcpy. (find_a_file): Call xstrdup, not xmalloc/strcpy. (process_command): Call xstrdup, not save_string. (main): Call xcalloc, not xmalloc/bzero. * gcov.c (xmalloc): Don't define. (create_program_flow_graph): Call xcalloc, not xmalloc/bzero. (scan_for_source_files): Call xstrdup, not xmalloc/strcpy. (output_data): Call xcalloc, not xmalloc/bzero. * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero. * mips-tdump.c (xmalloc): Don't define. (print_symbol): Call xmalloc, not malloc. (read_tfile): Call xcalloc, not calloc. * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc): Don't define. All callers of xfree/my_strsignal changed to use free/strsignal instead. (allocate_cluster): Call xcalloc, not calloc. * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/... Fix memory leak, free allocated memory. * prefix.c (translate_name): Call xstrdup, not save_string. (update_path): Likewise. * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy. * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2): Don't define. Callers of xfree/savestring2 changed to use free/concat instead. * reload1.c (reload): Call xcalloc, not xmalloc/bzero. (init_elim_table): Likewise. * resource.c (init_resource_info): Likewise. * stupid.c (stupid_life_analysis): Likewise. * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define. (open_dump_file): Call concat, not xmalloc/strcpy/... (clean_dump_file): Likewise. (compile_file): Call xstrdup, not xmalloc/strcpy. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29148 138bc75d-0d04-0410-961f-82ee72b054a4