- 08 Sep, 1999 25 commits
-
-
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 -
* dsp16xxx.c: Include ggc.h (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. From-SVN: r29187
Mark Mitchell committed -
From-SVN: r29186
Linas Vepstas committed -
* 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. From-SVN: r29185
Linas Vepstas committed -
* rs6000.c: Include ggc.h. (rs6000_add_gc_roots): New function. (override_options): Call it. From-SVN: r29184
Mark Mitchell committed -
* alpha.h (alpha_compare): New. (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). From-SVN: r29183
Richard Henderson committed -
* alpha.h (alpha_eh_epilogue_sp_ofs): Remove. (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. From-SVN: r29182
Richard Henderson committed -
rs6000.c (first_reg_to_save): Don't save fixed or call-used registers (call-saved registers must still be... * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or call-used registers (call-saved registers must still be contiguous and end with r31, of course). Co-Authored-By: Geoff Keating <geoffk@cygnus.com> Co-Authored-By: Melissa O'Neill <oneill@cs.sfu.ca> From-SVN: r29181
Ian Piumarta committed -
* c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to. (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. From-SVN: r29180
Richard Henderson committed -
* posix-threads.cc (_Jv_CondWait): pthread_ calls return error code and don't set errno. From-SVN: r29179
Tom Tromey committed -
* search.c (binfo_for_vtable): Use CLASSTYPE_VFIELD_PARENT. (dfs_bfv_queue_p, dfs_bfv_helper, struct bfv_info): Remove. From-SVN: r29178
Jason Merrill committed -
1999-09-07 Tom Tromey <tromey@cygnus.com> * 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. From-SVN: r29177
Tom Tromey committed -
* 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. From-SVN: r29176
Mark Mitchell committed
-
- 07 Sep, 1999 15 commits
-
-
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. * 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. * 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*. * 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. (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 -
* 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 -
* 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 -
From-SVN: r29166
Mark Klein committed -
From-SVN: r29165
Mark Klein committed -
From-SVN: r29164
Bernd Schmidt committed -
* configure.in: Add hppa1.0-*-mpeix for MPE port. * configure: Rebuilt. From-SVN: r29163
Mark Klein committed -
From-SVN: r29160
Andreas Schwab committed -
From-SVN: r29157
Jeff Law committed -
From-SVN: r29153
Jeff Law committed -
From-SVN: r29152
Jeffrey A Law committed
-