1. 15 Dec, 2005 9 commits
    • Second part of MS1->MT renaming · bccef6d8
      	Second part of MS1->MT renaming
      	* config/mt/mt.md (doloop_end): Call mt_add_loop.
      	(movqi, movhi): Call mt_set_memflags.
      	(*movdf_internal): Call mt_split_words. 
      	(reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call
      	mt_set_memflags.
      	(cmpsi): Store to mt_compare_op[01].
      	(beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge,
      	bungt, bunle, bunlt): Call mt_emit_cbranch.
      	(prologue): Call mt_expand_prologue.
      	(epilogu): Call mt_expend_epilogue.
      	(eh_return): Call mt_expand_eh_return.
      	(eh_epilogue): Call me_emit_eh_epilogue.
      	(conditional_trap): Store to mt_compare_op[01].
      	* config/mt/crti.asm: Adjust comment.
      	* config/mt/crtn.asm: Adjust comment.
      	* config/mt/mt.c (MT_INT_ARG_FIRST): Renamed.
      	(mt_compare_op0, mt_compare_op1): Renamed.
      	(current_frame_info, zero_frame_info): Adjust type.
      	(mt_ucmpsi3_libcall): Renamed.
      	(mt_flag_delayed_branch): Renamed.
      	(mt_struct_value_rtx, mt_return_addr_rtx): Renamed.
      	(mt_nops_required, mt_nop_reasons): Renamed.
      	(mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn,
      	mt_debug_stack, mt_print_operand_simple_address,
      	mt_print_operand_address, mt_print_operand): Renamed, adjusted.
      	(mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg,
      	mt_function_arg_advance, mt_arg_partial_bytes,
      	mt_pass_by_reference, mt_function_arg_boundary,
      	mt_reg_ok_for_base_p, mt_legitimate_simple_address_p,
      	mt_legitimate_address_p): Renamed, adjusted.
      	(mt_cpu): Renamed.
      	(mt_init_machine_status, mt_override_options, mt_builtin_saveregs,
      	mt_va_start, mt_compute_frame_size, mt_emit_save_restore,
      	mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p, 
      	mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue,
      	mt_expand_eh_return, mt_emit_eh_prologue,
      	mt_handl_interrupt_attribute): Renamed, adjusted.
      	(mt_attribute_table): Renamed, adjusted.
      	(mt_initial_elimination_offset, mt_generate_compare,
      	mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags,
      	mt_secondary_reload_class, mt_function_value, mt_split_words,
      	mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length,
      	mt_scan_loop, mt_reorg_loops): Renamed, adjusted.
      	(mt_labels): Renamed.
      	(mt_add_branches, mt_check_delay_slot, mt_reorg_hazard,
      	mt_machine_reorg): Renamed, adjusted.
      	(mt_attribute_table: Renamed.
      	(TARGET_ATTRIBUTE_TABLE, TARGET_STRUCT_VALUE_RTX,
      	TARGET_PASS_BY_REFERENCE, TARGET_MUST_PASS_IN_STACK,
      	TARGET_ARG_PARTIAL_BYTES, TARGET_MACHINE_DEPENDENT_REORG): Adjust.
      	* config/mt/mt.opt (march): Set mt_cpu_string.
      	* config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed.
      	(TARGET_CPU_CPP_BUILTINS): Adjust.
      	(TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003,
      	TARGET_MS2): Adjust.
      	(TARGET_VERSION, OVERRIDE_OPTIONS, SECONDARY_RELOAD_CLASS): Adjust.
      	(MT_MIN_INT): Renamed.
      	(RETURN_ADDR_RTX): Adjust.
      	(struct mt_frame_info): Renamed.
      	(current_frame_info): Adjust type.
      	(INITIAL_ELIMINATION_OFFSET): Adjust.
      	(MT_NUM_ARG_REGS): Renamed.
      	(REG_PARM_STACK_SPACE, FUNCTION_ARG, INIT_CUMULATVE_ARGS,
      	FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY, FUNCTION_VALUE,
      	LIBCALL_VALUE, EPILOGUE_USES, EXPAND_BUILTIN_VA_START,
      	GO_IF_LEGITIMATE_ADDRESS, REG_OK_FOR_BASE_P, ASM_OUTPUT_OPCODE,
      	FINAL_REPSCAN_INSN, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Adjust.
      	(mt_compare_op0, mt_compare_op1): Renamed.
      	* config/mt/mt-protos.h: Rename prototypes.
      
      From-SVN: r108569
      Nathan Sidwell committed
    • tree-flow.h (okay_component_ref_for_subvars): Remove. · 6bec9271
      2005-12-15  Richard Guenther  <rguenther@suse.de>
      
      	* tree-flow.h (okay_component_ref_for_subvars): Remove.
      	(get_ref_base_and_extent): Declare.
      	* tree-dfa.c (okay_component_ref_for_subvars): Remove.
      	(get_ref_base_and_extent): New function.
      	* tree-ssa-alias.c (find_used_portions): Use it.
      	* tree-ssa-structalias.c (get_constraint_for_component_ref):
      	Likewise.
      	* tree-ssa-operands.c (get_expr_operands): Likewise.
      
      From-SVN: r108568
      Richard Guenther committed
    • re PR libstdc++/25421 (catching exception from codecvt_byname() segfaults) · cd6dba21
      2005-12-15  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/25421
      	* config/locale/gnu/c_locale.cc (_S_destroy_c_locale): Check
      	for null argument.
      	* testsuite/22_locale/facet/25421.cc: New.
      
      From-SVN: r108565
      Paolo Carlini committed
    • combine.c: Remove force_to_mode's fourth parameter. · b1257407
      2005-12-15  Paolo Bonzini  <bonzini@gnu.org>
      
              * combine.c: Remove force_to_mode's fourth parameter.
              (force_to_mode): Do not handle REG.
              (canon_reg_for_combine): New.
              (make_field_assignment): Use it where the removed argument was non-NULL.
      
      From-SVN: r108564
      Paolo Bonzini committed
    • libjava.exp: Revert 2005-12-01. · d561bdfd
      	* testsuite/lib/libjava.exp: Revert 2005-12-01.
      	* testsuite/libjava.lang/Array_3.xfail: Delete.
      
      From-SVN: r108563
      Alan Modra committed
    • re PR target/25406 (gcc.dg/20030625-1.c, gcc.dg/20050620-1.c, gcc.dg/940510-1.c,… · fa5b0972
      re PR target/25406 (gcc.dg/20030625-1.c, gcc.dg/20050620-1.c, gcc.dg/940510-1.c, gcc.dg/c99-flex-array-1.c, gcc.dg/pr14475.c, and gcc.dg/noncompile/incomplete-1.c fail on powerpc-darwin)
      
      	PR target/25406
      	* config/rs6000/rs6000.c (rs6000_special_round_type_align): Handle
      	error_mark_node.  Make alignment params unsigned.
      	* config/rs6000/rs6000-protos.h
      	(rs6000_special_round_type_align): Update prototype.
      	(rs6000_machopic_legitimize_pic_address): Remove arg names.
      
      From-SVN: r108562
      Alan Modra committed
    • repo1.C: Call cleanup-repo-files. · 018c145d
      	* g++.dg/rtti/repo1.C: Call cleanup-repo-files.
      	* gcc.dg/20050330-2.c: Call cleanup-coverage-files.
      
      From-SVN: r108558
      Kaveh R. Ghazi committed
    • re PR fortran/18197 (bus error on returning from a function) · e46aceff
      fortran/
      2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/18197
              * resolve.c (resolve_formal_arglist): Remove code to set
              the type of a function symbol from it's result symbol.
      
      
      testsuite/
      2005-12-14  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/18197
              * gfortran.dg/dummy_functions_1.f90: New.
      
      From-SVN: r108555
      Erik Edelmann committed
    • Daily bump. · a9573616
      From-SVN: r108552
      GCC Administrator committed
  2. 14 Dec, 2005 25 commits
  3. 13 Dec, 2005 6 commits
    • c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses… · 690a704a
      c-common.c (c_common_truthvalue_conversion): Generalise warning for addresses converted to booleans; not just function addresses.
      
      	* c-common.c (c_common_truthvalue_conversion): Generalise warning
      	for addresses converted to booleans; not just function addresses.
      	* c-typeck.c (build_binary_op): Warn for address comparisons which
      	can never be NULL (eg. func == NULL or &var == NULL).
      	* common.opt (Walways-true): New option.
      	* c-opts.c (c_common_handle_option): Set it with -Wall.
      	* doc/invoke.texi: Document it.
      testsuite/
      	* gcc.dg/warn-addr-cmp.c: New test.
      
      From-SVN: r108489
      Ben Elliston committed
    • fpgnulib.c (__unordsf2, [...]): New functions. · 383eca9c
      2005-12-13  Paul Brook  <paul@codesourcery.com>
      
      	* config/m68k/fpgnulib.c (__unordsf2, __unorddf2, __unordxf2,
      	__floatunsidf, __floatunsisf, __floatunsixf): New functions.
      
      From-SVN: r108487
      Paul Brook committed
    • t-mt (crti.o, crtn.o): Add multilib options. · c3d7c86d
      	* config/mt/t-mt (crti.o, crtn.o): Add multilib options.
      	(EXTRA_MULTILIB_PARTS): Define.
      
      From-SVN: r108481
      Nathan Sidwell committed
    • PR rtl-optimization/20070 / part1 · 7d22e898
      	PR rtl-optimization/20070 / part1
      	* flow.c (update_life_info): If PROP_POST_REGSTACK is set, call
      	count_or_remove_death_notes with kill == -1.
      	(mark_set_1): Don't add REG_DEAD / REG_UNUSED notes for stack
      	registers if PROP_POST_REGSTACK is set.
      	(mark_used_reg): Likewise.
      	(count_or_remove_death_notes): If kill is -1, don't remove REG_DEAD /
      	REG_UNUSED notes for stack regs.
      	* cfgcleanup.c (condjump_equiv_p): Change parameters and processing
      	to match rtx_equiv_p machinery.  Change caller.
      	(outgoing_edges_match): Likewise.
      	(try_crossjump_to_edge): Use struct_equiv_block_eq
      	instead of flow_find_cross_jump.
      	* basic-block.h (PROP_POST_REGSTACK, STRUCT_EQUIV_START): Define.
      	(STRUCT_EQUIV_RERUN, STRUCT_EQUIV_FINAL): Likewise.
      	(STRUCT_EQUIV_NEED_FULL_BLOCK, STRUCT_EQUIV_MATCH_JUMPS): Likewise.
      	(STRUCT_EQUIV_MAX_LOCAL): Likewise.
      	(struct struct_equiv_checkpoint, struct equiv_info): Likewise.
      	(insns_match_p): Update prototype.
      	(flow_find_cross_jump): Remove prototype.
      	(struct_equiv_block_eq, struct_equiv_init): Declare.
      	(rtx_equiv_p, condjump_equiv_p): Likewise.
      	* struct-equiv.c: Include reload.h.
      	(IMPOSSIBLE_MOVE_FACTOR): Define.
      	(assign_reg_reg_set, struct_equiv_make_checkpoint): New functions.
      	(struct_equiv_improve_checkpoint): Likewise.
      	(struct_equiv_restore_checkpoint, rtx_equiv_p): Likewise.
      	(set_dest_equiv_p, set_dest_addr_equiv_p, struct_equiv_init): Likewise.
      	(struct_equiv_merge, find_dying_input): Likewise.
      	(resolve_input_conflict, note_local_live): Likewise.
      	(death_notes_match_p): Change parameters and processing
      	to match rtx_equiv_p machinery.  Change caller.
      	(insns_match_p): Likewise.
      	(flow_find_cross_jump): Replace with:
      	(struct_equiv_block_eq).
      
      	Back out this change:
      	2005-03-07  Kazu Hirata  <kazu@cs.umass.edu>
                * recog.c (verify_changes): Make it static.
                * recog.h: Remove the corresponding prototype.
      
      From-SVN: r108480
      J"orn Rennecke committed
    • rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point values. · 80e6edb0
      	* rtlhooks.c (gen_lowpart_general): Handle SUBREGs of floating point
      	values.
      
      From-SVN: r108479
      J"orn Rennecke committed
    • t-mt (MULTILIB_OPTIONS): Add ms2 · ce9d5668
      	* config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
      	(MULTILIB_DIRNAMES): Add ms2.  Prefix ms1 dirs with 'ms1'.
      	* config/mt/mt.c (ms1_final_prescan): Use TARGET_MS2,
      	TARGET_MS1_64_001 appropriately.
      	(ms1_machine_reorg): Use TARGET_MS2.
      
      From-SVN: r108477
      Nathan Sidwell committed