- 05 Sep, 1999 2 commits
-
-
* 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. (EXPAND_BUILTIN_VA_ARG): Define. * sparc.c (sparc_va_start): New. (sparc_va_arg): New. From-SVN: r29115
Richard Henderson committed
-
- 04 Sep, 1999 20 commits
-
-
From-SVN: r29114
Michael Hayes committed -
* 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 -
* 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 -
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 -
From-SVN: r29110
Bernd Schmidt committed -
* 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 -
From-SVN: r29108
Richard Henderson committed -
* 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. (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 -
From-SVN: r29105
Alexandre Oliva committed -
From-SVN: r29102
Jeff Law committed -
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 -
From-SVN: r29100
Manfred Hollstein committed -
From-SVN: r29099
Jeff Law committed -
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 -
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. (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 -
* function.h (struct function): Add new element LANGUAGE. (save_lang_status): Declare new variable. (restore_lang_status): Likewise. * function.c (save_lang_status): Define. (restore_lang_status): Likewise. (push_function_context_to): Call language-specific save function. (pop_function_context_from): Call language-specific restore function. From-SVN: r29095
Bernd Schmidt committed -
* i386.md (movsf_1): Check REG_P before use of REGNO. (movdf_1): Likewise. (movxf_1): Likewise. (extendsfdf2): Likewise. (extendsfxf2): Likewise. (extenddfxf2): Likewise. From-SVN: r29094
Alasdair Baird committed -
decl.c (expand_static_init): Tweak handling of static initializations for objects without constructors. * decl.c (expand_static_init): Tweak handling of static initializations for objects without constructors. From-SVN: r29093
Mark Mitchell committed
-
- 03 Sep, 1999 18 commits
-
-
Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz> * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large constants into memory. (c4x_shiftable_constant): New function. * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT. (c4x_shiftable_constant): Declare. * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant, ashlqi3_noclobber): Add new patterns and associated splitters. From-SVN: r29092
Michael Hayes committed -
* dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero. * dwarf2out.c (dwarf2out_frame_init): Likewise. * final.c (shorten_branches): Likewise. * global.c (global_alloc): Likewise. * haifa-sched.c (build_control_flow): Likewise. * stmt.c (check_for_full_enumeration_handling): Likewise. (estimate_case_costs): Likewise. From-SVN: r29091
Richard Henderson committed -
From-SVN: r29090
Mark Mitchell committed -
* flow.c (propagate_block): Use XEXP not SET_DEST for a USE. (recompute_reg_usage): Likewise. * rtlanal.c (find_regno_fusage): Likewise. * rtl.c (rtl_check_failed_code1): New function. (rtl_check_failed_code2): New. * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args. (RTL_CHECKC1, RTL_CHECKC2): New. (XC*): New accessor macros. (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them. (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise. (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise. (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise. (TRAP_*, RANGE_INFO_*): Likewise. From-SVN: r29089
Richard Henderson committed -
From-SVN: r29088
Richard Kenner committed -
* Makefile.in (tlink.o): Don't depend on toplev.h. * collect2.c (c_file, o_file, export_file, import_file, ldout, output_file, nm_file_name, ldd_file_name, strip_file_name, c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file, add_prefix, prefix_from_env, prefix_from_string, do_wait, fork_execute, maybe_unlink, add_to_list, extract_init_priority, write_list, dump_list, dump_prefix_list, write_list_with_asm, write_c_file, write_c_file_stat, write_c_file_glob, scan_prog_file, scan_libraries, is_in_list, resolve_lib_name, use_import_list, ignore_library, extract_string, notice, dump_file, target_machine, collect_wait, collect_execute, libname, locatelib, aix_std_libs, read_file, print_load_command): Constify a char*. (fdopen, error, fatal, fatal_perror): Don't prototype. (my_strerror): Remove. All callers use xstrerror instead. (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions. (main): Add prototype. Constify lots of char* ptrs. Change calls to xcalloc/strcpy/strcat/... to one call to concat. (main, scan_prog_file, scan_libraries): Use an intermediate `const char **' to build an argv array. (mapfile, libselect, libcompare, locatelib): Add prototypes. * collect2.h (collect_execute, collect_wait, dump_file, file_exists): Constify a char*. (ldout, c_file_name, temporary_obstack, permanent_obstack, temporary_firstobj, vflag, debug): Add extern declarations. (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes. * tlink.c: Don't include toplev.h. (vflag, debug, ldout, c_file_name, temporary_obstack, permanent_obstack, temporary_firstobj): Don't declare. (tlink_execute, frob_extension, symbol_hash_lookup, file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym, recompile_files, read_repo_files, demangle_new_symbols, scan_linker_output): Constify a char*. (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc, do_tlink): Mark parameters with ATTRIBUTE_UNUSED. From-SVN: r29087
Kaveh R. Ghazi committed -
* parse.y (strip_out_static_field_access_decl): Return operand if it satisfies JDECL_P. From-SVN: r29086
Tom Tromey committed -
Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com> * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr (relative) rather than jsr (absolute) subroutine call insns. * config/m68k/m68k-coff.h: Ditto. From-SVN: r29085
Andrew Haley committed -
* arm.c (note_invalid_constants): No need to ignore ASMs, we can now rework these too. (arm_reorg): If an insn can't reach the end of the current pool, ensure that we emit that pool before the insn. From-SVN: r29084
Richard Earnshaw committed -
* tlink.c (scan_linker_output): Skip the initial underscore in a mangled name if appropriate. From-SVN: r29083
Jason Merrill committed -
From-SVN: r29082
Richard Earnshaw committed -
* typeck.c (build_indirect_ref): Reject dereference of pointer to void. From-SVN: r29081
Nathan Sidwell committed -
From-SVN: r29080
Nathan Sidwell committed -
From-SVN: r29079
Jeff Law committed -
* configure: Rebuilt. * configure.in: Check for fstat function. * java/io/natFileDescriptorPosix.cc (available): Use fstat() if FIONREAD fails. This fixes PR 3 From-SVN: r29078
Tom Tromey committed -
* objc/objc-act.c (objc_tree_code_type, objc_tree_code_length, objc_tree_code_name, synth_id_with_class_suffix, warn_with_method, error_with_ivar, gen_declarator, create_builtin_decl, my_build_string, generate_descriptor_table, generate_ivars_list, generate_dispatch_table, check_protocols, TAG_GETCLASS, TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS, dump_base_name, lang_decode_option, build_encode_expr, start_class, finish_class, encode_pointer, really_start_method, gen_declaration, dump_interface, handle_class_ref, handle_impent): Constify. (objc_demangle, objc_printable_name, generate_struct_by_value_array): Add static prototypes. (build_objc_string_decl, build_selector_reference_decl, encode_bitfield, build_class_reference_decl): Remove unused parameter, all callers changed. (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED. (objc_printable_name): Likewise. Change second parameter to type int. (init_objc): Use memcpy, not bcopy, to avoid casts. From-SVN: r29077
Kaveh R. Ghazi committed -
* reload1.c (eliminate_regs_in_insn): Avoid eliminating the reg notes on a deleted insn. * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE. From-SVN: r29076
Richard Henderson committed -
From-SVN: r29075
Richard Kenner committed
-