1. 14 May, 1998 8 commits
  2. 13 May, 1998 17 commits
    • rtlanal.c (find_reg_note): Ignore notes that are not on on insns of class 'i'. · ae78d276
              * rtlanal.c (find_reg_note): Ignore notes that are not on on
              insns of class 'i'.
              (find_regno_note): Likewise.
      
      Co-Authored-By: Jeffrey A Law <law@cygnus.com>
      
      From-SVN: r19733
      Michael Meissner committed
    • Makefile.in (stor-layout.o): Depend on except.h · 82ce5b75
              * Makefile.in (stor-layout.o): Depend on except.h
              (varasm.o, function.o): Likewise.
              (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
      
      Co-Authored-By: Jeffrey A Law <law@cygnus.com>
      
      From-SVN: r19728
      Michael Meissner committed
    • Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o. · 0dfa1860
              * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
              (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
              ($(HOST_PREFIX_1)rtl.o): Likewise.
              ($(HOST_PREFIX_1)bitmap.o): New host object.
              * emit-rtl.c (toplevel): Include bitmap.h.
              (gen_rtx): Handle 't' and 'b' nodes.
              * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
              Print block number for block begin/end notes.  Print 't' type
              nodes as a pointer.  Know that the 3rd argument of live range
              start/stop notes is really a range_info rtx.  If type is 'b', print
              out argument as a bitmap.
              * rtl.c: Include bitmap.c.
              (copy_rtx): Copy tree nodes as is.  Copy bitmaps if type is 'b'.
              (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
              * rtl.def (RANGE_LIVE): New node to hold live information while we
              recalculate the basic blocks.
              (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
              (RANGE_VAR): New node, to hold information saved in symbol node for New
              communicating live range information to the debug output functions.
              * rtl.h (rtunion_def): Add rttree and rtbit fields.
              (XBITMAP, XTREE): New accessor macros.
              (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
              (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
              (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
              (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
              (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
              (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
              (RANGE_INFO_*): Likewise.
              * sched.c (sched_analyze): Keep live range start/stop notes.
              (unlink_other_notes): Likewise.
              * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
              (unlink_other_notes): Likewise.
              * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
              (BLOCK_LIVE_RANGE_FLAG): Likewise.
              (DECL_LIVE_RANGE_RTL): Likewise.
              (struct tree_block): Add live_range_flag, live_range_var_flag,
              live_range_start and live_range_end.
              (struct tree_decl): Add live_range_rtl field.
              * gengenrtl.c (type_from_format): Handle 'b' and 't'.
              (accessor_from_format): Likewise.
      
      Co-Authored-By: Jeffrey A Law <law@cygnus.com>
      
      From-SVN: r19727
      Michael Meissner committed
    • reload1.c (merge_assigned_reloads): When merging, reset reload_spill_index for… · efdb3590
      reload1.c (merge_assigned_reloads): When merging, reset reload_spill_index for the eliminated reload.
      
      	* reload1.c (merge_assigned_reloads):  When merging, reset
      	reload_spill_index for the eliminated reload.
      
      From-SVN: r19726
      J"orn Rennecke committed
    • * haifa-sched.c (schedule_insns): Fix merge goof. · 5d27de7d
      From-SVN: r19725
      Jeffrey A Law committed
    • Add a blank line in verbose debug output · 47312d84
      From-SVN: r19724
      Michael Meissner committed
    • Patch to fix g++.other/local1.C. · 92d4501f
      	* varasm.c (make_decl_rtl): Revert April 1 change.
      	* alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
      	m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
      	Get function name from the SYMBOL_REF in the DECL_RTL, not from
      	DECL_ASSEMBLER_NAME.
      	* i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
      	DECL_ASSEMBLER_NAME.
      
      From-SVN: r19723
      Jim Wilson committed
    • Disable remaining cmov support just to be safe. · d6cc54f6
      	* i386.c (notice_update_cc, output_float_compare): Disable
      	TARGET_CMOVE support.
      
      From-SVN: r19722
      Jim Wilson committed
    • align debug output · 6d3352d9
      From-SVN: r19721
      Michael Meissner committed
    • Grrr! ChangeLog omitted for last warning fix update. · 63e76c87
      From-SVN: r19720
      Kaveh Ghazi committed
    • Warning fixes: · d6f4ec51
      	* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
      	(c-lex.o): Depend on output.h.
      	(c-common.o): Likewise.
      	(stmt.o): Likewise.
      	(calls.o): Likewise.
      	(integrate.o): Depend on toplev.h.
      	(regclass.o): Depend on output.h.
      	(final.o): Depend on reload.h.
      	* c-common.c: Include output.h.
      	(check_format_info): Remove unused variable `integral_format'.
      	* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
      	`indent' with ATTRIBUTE_UNUSED.
      	(print_lang_type): Likewise.
      	(maybe_build_cleanup): Likewise for parameter `decl'.
      	(copy_lang_decl): Likewise for parameter `node'.
      	* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
      	(lang_print_xnode): Mark parameters `file', `node' and `indent'
       	with ATTRIBUTE_UNUSED.
      	(lookup_interface): Likewise for parameter `arg'.
      	(is_class_name): Likewise.
      	(maybe_objc_check_decl): Likewise for parameter `decl'.
      	(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
      	`reflexive'.
      	(maybe_objc_method_name): Likewise for parameter `decl'.
      	(build_objc_string): Likewise for parameters `len' and `str'.
      	* c-lex.c: Include output.h.
      	* c-lex.h (position_after_white_space): Correct typo in prototype.
      	* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
       	c_expand_end_cond, init_iterators): Add prototypes.
      	* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
      	with ATTRIBUTE_UNUSED.
      	* calls.c: Include output.h.
      	* cccp.c (pipe_closed): Mark parameter `signo' with
       	ATTRIBUTE_UNUSED.
      	* combine.c: Move inclusion of expr.h to after insn-config.h.
      	* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
      	as empty, rather define as ((void)0).
      	* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
      	Add parentheses around assignment used as truth value.
      	* cplus-dem.c (squangle_mop_up): Change return type to void.
      	(internal_cplus_demangle): Remove unused parameter `options'.
      	All callers changed.
      	(cplus_demangle_opname): Remove function wide variable `int i' and
       	replace with `size_t i' at each location where it is used.
      	(cplus_demangle_opname): change type of `i' from int to size_t.
      	* cppexp.c (right_shift): Mark parameter `pfile' with
      	ATTRIBUTE_UNUSED.
      	* cpphash.c (cpp_lookup): Likewise.
      	(cpp_hash_cleanup): Likewise.
      	* cpplib.c (parse_name): Add a prototype and make it static.
      	(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
      	(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
      	(macro_cleanup): Likewise for parameter `pfile'.
      	(file_cleanup): Likewise.
      	* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
       	cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
      	* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
      	__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
      	* cse.c (cse_check_loop_start): Mark parameter `set' with
       	ATTRIBUTE_UNUSED.
      	* dbxout.c (flag_minimal_debug, have_used_extensions,
      	source_label_number): Move inside macro wrapper check against
      	defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
      	* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
      	* except.h (doing_eh): Provide prototype.
      	* expr.c: Move inclusion of expr.h to after insn-config.h.
      	* final.c: Include reload.h.
      	(shorten_branches): Cast the first argument of bzero to char *.
      	* fix-header.c (cpp_print_containing_files): Mark parameter
       	`pfile' with ATTRIBUTE_UNUSED.
      	(cpp_fatal): Likewise.
      	* flow.c (find_basic_blocks_1): Cast the first argument of bzero
      	to char *.
      	* genattrtab.c (make_length_attrs): Change the type of variable
      	`i' from int to size_t.
      	(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
      	(one_fn): Likewise.
      	* genextract.c (main): When generating insn-extract.c, mark
      	variable `junk' with ATTRIBUTE_UNUSED.
      	* gengenrtl.c (gencode): When generating genrtl.c, cast the first
      	argument of bzero to char*.
      	* integrate.c: Include toplev.h.
      	* libgcc2.c: Wrap `struct exception_table' and
      	`find_exception_handler' in macro DWARF2_UNWIND_INFO.
      	* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
      	* objc/objc-act.c: Include toplev.h.
      	(lang_print_xnode): Mark parameters `file', `node' and `indent'
      	with ATTRIBUTE_UNUSED.
      	(finish_protocol): Likewise for parameter `protocol'.
      	* output.h (declare_weak): Add prototype.
      	(decode_reg_name): Don't wrap with TREE_CODE macro.
      	(assemble_alias): Add prototype.
      	* regclass.c: Include output.h.
      	* reload.h (reloads_conflict): Add prototype.
      	* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
      	output_func_start_profiler): Add prototypes.
      	* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
       	ATTRIBUTE_UNUSED.
      	* scan-decls.c: Include scan.h.
      	* scan.h (recognized_function, recognized_extern): Add prototypes.
      	* stmt.c: Include output.h.
      	* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
      	(output_lang_identify): Hide prototype and definition.
      	(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
      	(pipe_closed): Likewise.
      	* toplev.h (count_error, strip_off_ending, error_for_asm,
       	warning_for_asm): Add prototypes.
      
      From-SVN: r19712
      Kaveh R. Ghazi committed
    • toplev.c (rest_of_compilation): "Charge" final for any time doing various… · 32e705c4
      toplev.c (rest_of_compilation): "Charge" final for any time doing various cleanup operations after finishing...
      
              * toplev.c (rest_of_compilation): "Charge" final for any time
              doing various cleanup operations after finishing compilation
              of a function.
      
      From-SVN: r19711
      Michael Meissner committed
    • flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo… · 6fc4610b
      flow.c (dump_flow_info): Also print number of sets and whether or not the pseudo is a user variable.
      
              * flow.c (dump_flow_info): Also print number of sets and
              whether or not the pseudo is a user variable.
      
      From-SVN: r19710
      Michael Meissner committed
    • Reorganize last entry a little. · 21622caf
      From-SVN: r19709
      Jeff Law committed
    • acconfig.h (ENABLE_CHECKING): Undefine. · a494747c
              * acconfig.h (ENABLE_CHECKING): Undefine.
              * configure.in (--enable-checking): New option.
              * flow.c (reg_n_max): New global variable.
              * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
              Delete regno_max variable.
              * regs.h (REG_N_CHECK): Define.
              (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
              (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
              (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
      
      Co-Authored-By: Martin v. Loewis <martin@mira.isdn.cs.tu-berlin.de>
      
      From-SVN: r19708
      Michael Meissner committed
    • Warning patches: · 7dee3f36
              * Makefile.in (lex.o): Depend on output.h.
              * call.c (add_function_candidate): Remove unused variable `cand'.
              (add_conv_candidate): Likewise.
              (build_builtin_candidate): Likewise.
              * cp-tree.h: Add prototype for `types_overlap_p'.
              * decl.c (signal_catch): Mark parameter `sig' with ATTRIBUTE_UNUSED.
              * decl2.c (merge_functions): Remove unused variables `tmp' and
              `tempn'.
              * error.c (expr_as_string): Mark parameter `v' with ATTRIBUTE_UNUSED.
              (code_as_string): Likewise.
              (language_as_string): Likewise.
              (parm_as_string): Likewise.
              (op_as_string): Likewise.
              (assop_as_string): Likewise.
              (cv_as_string): Likewise.
              * lex.c: Include output.h.
              * pt.c (type_unification): Cast first argument of `bzero' to a char*.
              * search.c (dfs_no_overlap_yet): Mark parameter `t' with
              ATTRIBUTE_UNUSED.
              * tinfo.cc (__class_type_info::dcast): Change the type of variable
              `i' from int to size_t.
              * typeck.c (language_lvalue_valid): Mark parameter `exp' with
              ATTRIBUTE_UNUSED.
      
      From-SVN: r19707
      Kaveh R. Ghazi committed
    • reload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and… · d668e863
      reload1.c (merge_assigned_reloads): Can merge RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even if...
      
      	* reload1.c (merge_assigned_reloads):  Can merge
      	RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
      	if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
      
      From-SVN: r19706
      J"orn Rennecke committed
  3. 12 May, 1998 12 commits
  4. 11 May, 1998 3 commits