1. 27 Aug, 2001 26 commits
    • jartool.c (jarfile): Remove length limitation. · c5bb59c1
      	* jartool.c (jarfile): Remove length limitation.
      	(main): Use jt_strdup when initializing jarfile.
      
      From-SVN: r45217
      Tom Tromey committed
    • m68k.md (subreghi1ashrdi_const32, [...]): Fix SUBREG_BYTE offset. · b7b59ff4
              * config/m68k/m68k.md (subreghi1ashrdi_const32, bsetmemqi,
              bsetmemqi+1, strict_low_part peephole): Fix SUBREG_BYTE offset.
              (pushqi1): New.
              (adddi_dilshr32, adddi_dishl32): Only data register can be
              source for mem destination.
      
      From-SVN: r45216
      Roman Zippel committed
    • expmed.c (store_bit_field): Ignore adjustment to bitpos and use bitnum to decide… · f21bdd05
      expmed.c (store_bit_field): Ignore adjustment to bitpos and use bitnum to decide about register move.
      
              * expmed.c (store_bit_field): Ignore adjustment to bitpos
              and use bitnum to decide about register move.
      
      From-SVN: r45215
      Roman Zippel committed
    • gcse.c (reg_first_set, [...]): Replace with ... · 80c29cc4
              * gcse.c (reg_first_set, reg_last_set): Replace with ...
              (reg_avail_info, current_bb): ... these.
              (oprs_unchanged_p, record_last_reg_set_info): Use them.
              (compute_hash_table): Likewise.
      
      Co-Authored-By: Richard Henderson <rth@redhat.com>
      
      From-SVN: r45213
      Roman Zippel committed
    • * flow.c (verify_flow_info): Use checksums to verify edges. · bce7bfe8
      From-SVN: r45212
      Roman Zippel committed
    • optabs.c (expand_binop): Correctly handle the carry in multiword add/subtract operations. · 859cb4d8
      	* optabs.c (expand_binop): Correctly handle the carry in multiword
      	add/subtract operations.
      
      From-SVN: r45210
      Geoffrey Keating committed
    • re PR libstdc++/4143 (--disable == --enable for version-specific-runtime-libs) · b969a5d7
      2001-08-27  Phil Edwards  <pme@sources.redhat.com>
      
      	PR libstdc++/4143
      	* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO):  Handle enable/disable
      	correctly for version-specific-runtime-libs.
      	* aclocal.m4:  Regenerate.
      	* configure:  Regenerate.
      
      From-SVN: r45206
      Phil Edwards committed
    • * gcc.dg/asm-names.c (ymain): New. · 90d925d3
      From-SVN: r45205
      Aldy Hernandez committed
    • ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses. · e2dff3f2
      include:
      	* ansidecl.h (VA_OPEN, VA_CLOSE): Allow multiple uses.
      
      libiberty:
      	* concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
      
      From-SVN: r45204
      Kaveh R. Ghazi committed
    • reload.c (find_reloads_toplev): Back out this change: · 67a44b16
      	* reload.c (find_reloads_toplev): Back out this change:
      
      	Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
      
      	* reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
      	mem if the address is a mode_dependent_address_p.
      
      From-SVN: r45203
      Geoffrey Keating committed
    • rtl.def (DEFINE_CPU_UNIT, [...]): New RTL constructions. · acd7baf7
      2001-08-27  Vladimir Makarov  <vmakarov@touchme.toronto.redhat.com>
      
              * rtl.def (DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT, EXCLUSION_SET,
      	PRESENCE_SET, ABSENCE_SET, DEFINE_BYPASS, DEFINE_AUTOMATON,
      	AUTOMATA_OPTION, DEFINE_RESERVATION, DEFINE_INSN_RESERVATION): New
      	RTL constructions.
      
      	* genattr.c (main): New variable num_insn_reservations.  Increase
      	it if there is DEFINE_INSN_RESERVATION.  Output automaton based
      	pipeline hazard recognizer interface.
      
      	* genattrtab.h: New file.
      
      	* genattrtab.c: Include genattrtab.h.
      	(attr_printf, check_attr_test, make_internal_attr,
      	make_numeric_value): Move protypes into genattrtab.h.  Define them
      	as external.
      	(num_dfa_decls): New global variable.
      	(main): Process DEFINE_CPU_UNIT, DEFINE_QUERY_CPU_UNIT,
      	DEFINE_BYPASS, EXCLUSION_SET, PRESENCE_SET, ABSENCE_SET,
      	DEFINE_AUTOMATON, AUTOMATA_OPTION, DEFINE_RESERVATION,
      	DEFINE_INSN_RESERVATION.  Call expand_automata and write_automata.
      
      	* genautomata.c: New file.
      
      	* rtl.h (LINK_COST_ZERO, LINK_COST_FREE): Remove them.
      
              * sched-int.h: (curr_state): Add the external definition for
      	automaton pipeline interface.
      	(haifa_insn_data): Add comments for members blockage and units.
      
      	* target-def.h (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
      	TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
      	TARGET_SCHED_DFA_PRE_CYCLE_INSN,
      	TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
      	TARGET_SCHED_DFA_POST_CYCLE_INSN,
      	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
      	TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): New
      	macros.
      	(TARGET_SCHED): Use the new macros.
      
      	* target.h (use_dfa_pipeline_interface, init_dfa_pre_cycle_insn,
      	dfa_pre_cycle_insn, init_dfa_post_cycle_insn, dfa_post_cycle_insn,
      	first_cycle_multipass_dfa_lookahead, init_dfa_bubbles,
      	dfa_bubble): New members in gcc_target.sched.
      
              * haifa-sched.c (insert_schedule_bubbles_p): New variable.
      	(MAX_INSN_QUEUE_INDEX): New macro for automaton interface.
      	(insn_queue): Redefine it as pointer to array.
      	(NEXT_Q, NEXT_Q_AFTER): Use MAX_INSN_QUEUE_INDEX instead of
      	INSN_QUEUE_SIZE.
      	(max_insn_queue_index_macro_value): New variable.
      	(curr_state, dfa_state_size, ready_try): New varaibles for
      	automaton interface.
      	(ready_element, ready_remove, max_issue): New function prototypes
      	for automaton interface.
      	(choose_ready): New function prototype.
      	(insn_unit, blockage_range): Add comments.
      	(unit_last_insn, unit_tick, unit_n_insns): Define them for case
      	FUNCTION_UNITS_SIZE == 0.
      	(insn_issue_delay, actual_hazard_this_instance, schedule_unit,
      	actual_hazard, potential_hazard): Add comments.
      	(insn_cost): Use cost -1 as undefined value.  Remove
      	LINK_COST_ZERO and LINK_COST_FREE.  Add new code for automaton
      	pipeline interface.
      	(ready_element, ready_remove): New functions for automaton
      	interface.
      	(schedule_insn): Add new code for automaton pipeline interface.
      	(queue_to_ready): Add new code for automaton pipeline interface.
      	Use MAX_INSN_QUEUE_INDEX instead of INSN_QUEUE_SIZE.
      	(debug_ready_list): Print newline when the queue is empty.
      	(max_issue): New function for automaton pipeline interface.
      	(choose_ready): New function.
      	(schedule_block): Add new code for automaton pipeline interface.
      	Print ready list before scheduling each insn.
      	(sched_init): Add new code for automaton pipeline interface.
      	Initiate insn cost by -1.
      	(sched_finish): Free the current automaton state and finalize
      	automaton pipeline interface.
      
      	* sched-rgn.c: Include target.h.
      	(init_ready_list, new_ready, debug_dependencies): Add new code for
      	automaton pipeline interface.
      
      	* sched-vis.c: Include target.h.
      	(get_visual_tbl_length): Add code for automaton interface.
      	(target_units, print_block_visualization):  Add comments.
      
              * Makefile.in (GETRUNTIME, HASHTAB, HOST_GETRUNTIME, HOST_HASHTAB,
      	USE_HOST_GETRUNTIME, USE_HOST_HASHTAB, HOST_VARRAY): New variables.
      	(sched-rgn.o, sched-vis.o): Add new dependency file target.h.
      	(getruntime.o, genautomata.o): New entries.
      	(genattrtab.o): Add new dependency file genattrtab.h.
      	(genattrtab): Add new dependencies.  Link it with `libm.a'.
      	(getruntime.o, hashtab.o): New entries for canadian cross.
      
      	* doc/md.texi: Description of automaton based model.
      
      	* doc/tm.texi (TARGET_SCHED_ISSUE_RATE, TARGET_SCHED_ADJUST_COST):
      	Add comments.
      	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
      	TARGET_SCHED_DFA_PRE_CYCLE_INSN,
      	TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
      	TARGET_SCHED_DFA_POST_CYCLE_INSN,
      	TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,
      	TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
      	TARGET_SCHED_INIT_DFA_BUBBLES, TARGET_SCHED_DFA_BUBBLE): The new
      	hook descriptions.
      	(TRADITIONAL_PIPELINE_INTERFACE, DFA_PIPELINE_INTERFACE,
      	MAX_DFA_ISSUE_RATE): New macro descriptions.
      
      	* doc/contrib.texi: Add dfa based scheduler contribution.
      
      	* doc/gcc.texi: Add more information about genattrtab.
      
      From-SVN: r45202
      Vladimir Makarov committed
    • flow.c (flow_loop_dump): Do not display insn UIDs if this is not an RTL basic block. · 95005c21
      
      	* flow.c (flow_loop_dump): Do not display insn UIDs if this is not
      	an RTL basic block.
      
      From-SVN: r45201
      Diego Novillo committed
    • function.c (expand_function_end): Don't init arg_pointer_save_area. · 278ed218
              * function.c (expand_function_end): Don't init arg_pointer_save_area.
              (get_arg_pointer_save_area): New.  Create an init it here.
              (fix_lexical_addr): Use it.
              * function.h: Declare it.
              * builtins.c (expand_builtin_setjmp_receiver): Use it.
              * stmt.c (expand_nl_goto_receiver): Use it.
      
      From-SVN: r45200
      Richard Henderson committed
    • final.c (final_scan_insn): Don't enter APP_ON mode for empty asm strings. · 36d7136e
              * final.c (final_scan_insn): Don't enter APP_ON mode for
              empty asm strings.
      
      From-SVN: r45199
      Richard Henderson committed
    • dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for… · 225b9cb9
      dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned.
      
              * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
              alignment for assemble_integer for DW_EH_PE_aligned.
              * except.c (output_function_exception_table): Likewise.
      
      From-SVN: r45198
      Richard Henderson committed
    • dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for… · 9f5cd0c5
      dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper alignment for assemble_integer for DW_EH_PE_aligned.
      
              * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Use proper
              alignment for assemble_integer for DW_EH_PE_aligned.
      
      From-SVN: r45197
      Richard Henderson committed
    • * c-tree.h: Add prototyp for c_sizeof_nowarn. · 4a56401d
      From-SVN: r45196
      Andreas Jaeger committed
    • * ssa-ccp.c (ssa_const_prop): Free ssa_edges. · c96bd05e
      From-SVN: r45194
      Dan Nicolaescu committed
    • rs6000.c (mask_operand): Rewrite without bit-shifting loop. · c5059423
      	* config/rs6000/rs6000.c (mask_operand): Rewrite without
      	bit-shifting loop.
      	(mask64_operand): Likewise.
      	(rldic_operand): Delete.
      	(includes_lshift64_p): Delete.
      	(includes_rldic_lshift_p): New function.
      	(includes_rldicr_lshift_p): New function.
      	(print_operand): Don't call rldic_operand in case 'W'.
      	* config/rs6000/rs6000-protos.h (rldic_operand): Remove.
      	(includes_lshift64_p): Remove.
      	(includes_rldic_lshift_p): Declare.
      	(includes_rldicr_lshift_p): Declare.
      	* config/rs6000/rs6000.h (PREDICATE_CODES): Remove rldic_operand.
      	* config/rs6000/rs6000.md <ashldi3_internal 64 bit patterns>:
      	Replace match_operand rldic_operand predicate with
      	const_int_operand.  Replace includes_lshift64_p condition with
      	includes_rldic_lshift_p.
      	<ashldi3_internal 64 bit rldicr patterns>: New.
      
      From-SVN: r45192
      Alan Modra committed
    • Daily bump. · c34cce44
      From-SVN: r45188
      GCC Administrator committed
    • parse.y (check_deprecation): Handle TYPE_DECL in a special case... · 7b02957e
      2001-08-24  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
      	* parse.y (check_deprecation): Handle TYPE_DECL in a special case,
      	don't report anything but deprecated class when marked so. Handle
      	VAR_DECL.
      	(patch_method_invocation): Check deprecation on methods and types.
      	(patch_binop): code becomes an enum tree_code, added default: to
      	switch to handle that. Detect division by zero, try to fold and
      	return before using a subroutine.
      
      (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01495.html)
      
      From-SVN: r45187
      Alexandre Petit-Bianco committed
    • KeepInline.out: Fixed content. · 763bb30c
      2001-08-24  Alexandre Petit-Bianco  <apbianco@redhat.com>
      
              * libjava.lang/KeepInline.out: Fixed content.
      
      (http://gcc.gnu.org/ml/java-patches/2001-q3/msg00290.html)
      
      From-SVN: r45186
      Alexandre Petit-Bianco committed
    • emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout. · 7a75edb7
      	* emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
      	* errors.c: Likewise.
      	* final.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* doprint.c (checkit): Likewise.
      	* diagnostic.c: Likewise.
      	* collect2.c: Likewise.
      	* calls.c: Likewise.
      	* c-semantics.c (build_stmt): Likewise.
      	* c-format.c (status_warning): Likewise.
      	* c-errors.c (pedwarn_c99): Likewise.
      	* builtins.c (validate_arglist): Likewise.
      	* config/pj/pj.c (pj_printf): Likewise.
      	* fix-header.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov.c (fnotice): Likewise.
      	* gensupport.c (message_with_line): Likewise.
      	* mips-tfile.c: Likewise.
      	* protoize.c (notice): Likewise.
      	* read-rtl.c (fatal_with_file_and_line): Likewise.
      	* rtl-error.c: Likewise.
      	* tradcpp.c: Likewise.
      	* tree.c: Likewise.
      	* cp/tree.c (build_min_nt): Likewise.
      	(build_min): Likewise.
      	* cp/lex.c: Likewise.
      	* cp/errfn.c: Likewise.
      	* cp/rtti.c (create_pseudo_type_info): Likewise.
      
      From-SVN: r45185
      Andreas Jaeger committed
  2. 26 Aug, 2001 6 commits
  3. 25 Aug, 2001 8 commits