OSDN Git Service

* config/rs6000/rs6000.c (rs6000_stack_info): Correct alignment of
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index fec3053..c61f9b1 100644 (file)
@@ -1,3 +1,580 @@
+2004-09-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.c (rs6000_stack_info): Correct alignment of
+       save_size.
+
+2004-09-08  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/power4.md (power4-lmul): du4 feeds iu1.
+       * config/rs6000/power5.md (power5-lmul): Same.
+
+2004-09-08  Richard Henderson  <rth@redhat.com>
+
+       PR rtl-opt/17186
+       * function.c (expand_function_end): Have fall-off-the-end
+       return path jump around return register setup.
+
+2004-09-08  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (sparc_indent_opcode): New variable.
+       (output_return): Do not test for the presence of the 'unimp' insn.
+       Use 'current_function_uses_only_leaf_regs' and 'final_sequence'
+       as predicates instead of custom ones.  Return raw strings when
+       possible.
+       (output_sibcall): Likewise.  Concatenate strings.
+       (output_ubranch): Remove kludge for TurboSPARC.
+       (output_cbranch): Remove 'noop' parameter.  Do not output 'nop'.
+       (output_v9branch): Likewise.
+       (print_operand): Use 'final_sequence' instead of 'dbr_sequence_length'.
+       <#>: Set sparc_indent_opcode if the delay slot is filled.
+       <(>: Likewise.
+       <)>: New operand to emit the displacement from the saved PC on return.
+       <@>: Remove.
+       * config/sparc/sparc.h (sparc_indent_opcode): Declare it.
+       (ASM_OUTPUT_OPCODE): New macro.
+       (PRINT_OPERAND_PUNCT_VALID_P): Remove '^' and add ')'.
+       * config/sparc/sparc.md (normal_branch, inverted_branch,
+       normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
+       inverted_fpe_branch): Adjust call to output_cbranch.
+       (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust
+       call to output_v9branch.
+       * config/sparc/sparc-protos.h (output_cbranch): Adjust.
+       (output_v9branch): Likewise.
+
+2004-09-08  Devang Patel  <dpatel@apple.com>
+
+       * config/darwin.h  (TARGET_OPTION_TRANSLATE_TABLE): Add -segaddr,
+       -segs_read_only_addr and -segs_read_write_addr.
+       (WORD_SWITCH_TAKES_ARG): Same.
+       (LINK_SPEC): Same.
+       * doc/invoke.texi: Document -segaddr, -segs_read_only_addr and
+       -segs_read_write_addr.
+
+2004-09-08  Richard Henderson  <rth@redhat.com>
+
+       * function.c (reference_callee_copied): New.
+       (assign_parm_setup_reg): Use it.
+       * calls.c (initialize_argument_information): Likewise.
+       (emit_library_call_value_1): Likewise.
+       * function.h (reference_callee_copied): Declare.
+
+       * target.h (struct gcc_target): Add callee_copies.
+       * target-def.h (TARGET_CALLEE_COPIES): New.
+       (TARGET_PASS_BY_REFERENCE): Update default.
+       * expr.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * targhooks.c (hook_callee_copies_named): New.
+       (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Rename from
+       hook_pass_by_reference_false.
+       (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): New.
+       * targhooks.h: Update decls.
+       * config/arc/arc.c (TARGET_CALLEE_COPIES): New.
+       * config/arc/arc.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/frv/frv-protos.h (frv_function_arg_callee_copies): Remove.
+       * config/frv/frv.c (frv_function_arg_callee_copies): Remove.
+       * config/frv/frv.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/iq2000/iq2000.c (TARGET_CALLEE_COPIES): New.
+       * config/iq2000/iq2000.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/m68hc11/m68hc11.c (TARGET_CALLEE_COPIES): New.
+       * config/m68hc11/m68hc11.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/mips/mips.c (TARGET_CALLEE_COPIES): New.
+       (mips_callee_copies): New.
+       * config/mips/mips.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/mmix/mmix.c (TARGET_CALLEE_COPIES): New.
+       * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/mn10300/mn10300.c (TARGET_CALLEE_COPIES): New.
+       * config/mn10300/mn10300.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/pa/pa.c (TARGET_CALLEE_COPIES): New.
+       * config/pa/pa.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/sh/sh.c (sh_callee_copies): New.
+       (TARGET_CALLEE_COPIES): New.
+       * config/sh/sh.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * config/v850/v850.c (TARGET_CALLEE_COPIES): New.
+       * config/v850/v850.h (FUNCTION_ARG_CALLEE_COPIES): Remove.
+       * doc/tm.texi (TARGET_CALLEE_COPIES): Replace documentation
+       for FUNCTION_ARG_CALLEE_COPIES.
+       * doc/rtl.texi (CALL_INSN_FUNCTION_USAGE): Update.
+
+2004-09-08  Devang Patel  <dpatel@apple.com>
+
+       * tree-if-conv.c (find_phi_replacement_condition): Return true
+       edge block.
+       (replace_phi_with_cond_modify_expr): Select conditional expr args
+       based on true edge basic block.
+       
+2004-09-08  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-operands.c (add_stmt_operand): Use V_MUST_DEF even for
+       variables being alias set.
+
+2004-09-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * final.c (shorten_branches, final, get_insn_template,
+       output_alternate_entry_point, final_scan_insn, alter_subreg,
+       alter_cond, output_operand, asm_fprintf, final_forward_branch_p,
+       leaf_renumber_regs_insn): Use gcc_assert and gcc_unreachable.
+       * fix-header.c (lookup_std_proto): Likewise.
+       * flow.c (first_insn_after_basic_block_note, verify_wide_reg,
+       verify_local_live_at_start, update_life_info, mark_reg,
+       calculate_global_regs_live, allocate_reg_life_data,
+       init_propagate_block_info, mark_set_regs, flush_reg_cond_reg_1,
+       ior_reg_cond, not_reg_cond, and_reg_cond, elim_reg_cond,
+       attempt_auto_inc, mark_used_reg, mark_used_regs): Likewise.
+       * fold-const.c (force_fit_type, div_and_round_double,
+       may_negate_without_overflow_p, int_const_binop, const_binop,
+       size_binop, size_diffop, fold_convert_const, fold_convert,
+       invert_tree_comparison, swap_tree_comparison,
+       comparison_to_compcode, compcode_to_comparison, invert_truthvalue,
+       range_binop, make_range, fold_cond_expr_with_comparison,
+       fold_div_compare, fold, fold_checksum_tree, fold_negate_const,
+       fold_abs_const, fold_not_const, fold_relational_const, round_up,
+       round_down): Likewise.
+       * function.c (find_function_data, assign_stack_temp_for_type,
+       instantiate_virtual_regs_lossage, aggregate_value_p,
+       assign_parm_find_entry_rtl, assign_parm_setup_block,
+       expand_function_start, expand_function_end, keep_stack_depressed,
+       handle_epilogue_set, thread_prologue_and_epilogue_insns): Likewise.
+
+2004-09-08  Daniel Berlin  <dberlin@dberlin.org>
+
+       * Makefile.in (tree-loop-linear.o): Added.
+       (OBJS-common): Add tree-loop-linear.o
+       * common.opt: New flag, ftree-loop-linear.
+       * timevar.def: New timevar, TV_TREE_LOOP_LINEAR.
+       * tree-flow.h: Add prototype for linear_transform_loops.
+       * tree-optimize.c: Add linear transform after vectorization.
+       * tree-pass.h: Add struct pass_linear_transform.
+       * tree-ssa-loop.c: Add pass_linear_transform.
+       * tree-loop-linear.c: New file.
+       * lambda-code.c: gcc_assertify.
+       (gcc_loop_to_lambda_loop): Handle all exit tests.
+       Handle case where we have (invariant >= induction var).
+       (find_induction_var_from_exit_cond): Ditto.
+       
+2004-09-08  Jie Zhang  <zhangjie@magima.com.cn>
+
+       * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type
+       memory tag is call clobbered, so are its aliases.
+       (group_aliases): When two memory tags being grouped, if one is
+       call clobbered, so are the other and its aliases.
+       (add_may_alias): Remove call-clobbering stuff.
+       (replace_may_alias): Likewise.
+       (merge_pointed_to_info): Merge pt_global_mem
+
+2004-09-08  Jan Hubicka  <jh@suse.cz>
+
+       * cgraph.c (cgraph_remove_node): Free DECL_INITIAL field of node.
+       * cgraphunit.c (verify_cgraph): Don't verify on syntax errors.
+       (cgraph_expand_function): Remove stale cgraph edges of currently
+       compiled function; fix non-unit-at-a-time code copying function
+       node for later reuse.
+
+2004-09-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * vec.c (vec_p_reserve, vec_o_reserve): Rename to ...
+       (vec_gc_p_reserve, vec_gc_o_reserve): ... here. Clone to
+       (vec_heap_p_reserve, vec_heap_o_reserve): ... here, adjust.
+       (vec_gc_free, vec_heap_free): New.
+       * vec.h (DEF_VEC_GC_P, DEF_VEC_MALLOC_P): New.
+       (DEF_VEC_P): Add allocator argument. Adjust.
+       (DEF_VEC_GC_O, DEF_VEC_MALLOC_O): New.
+       (DEF_VEC_O): Add allocator argument. Adjust.
+       (VEC(free)): New.
+
+       * tree.h (tree): Define a GC'd vector.
+       * lamba-code.c (lambda_loop): Likewise.
+       * value-prof.h (histogram_value): Likewise.
+
+2004-09-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable.
+       (gen_rtx_SUBREG, gen_reg_rtx, mark_user_reg, subreg_hard_regno,
+       gen_lowpart_common, gen_highpart, gen_highpart_mode,
+       subreg_highpart_offset, operand_subword, operand_subword_force,
+       mem_expr_equal_p, set_mem_attributes_minus_bitpos,
+       set_mem_alias_set, change_address_1, verify_rtx_sharing,
+       copy_most_rtx, set_first_insn, set_last_insn, prev_cc0_setter,
+       try_split, add_insn_after, add_insn_before, remove_insn,
+       remove_unnecessary_notes, emit_insn_before, emit_jump_insn_before,
+       emit_call_insn_before, emit_insn_after, emit_jump_insn_after,
+       emit_call_insn_after, emit_insn, emit_jump_insn, emit_call_insn,
+       set_unique_reg_note, emit, push_to_full_sequence, copy_insn_1,
+       gen_const_vector_0, emit_copy_of_insn_after): Likewise.
+       * et-forest.c (set_prev, set_next, et_check_occ_sanity,
+       record_path_before_1, check_path_after_1, check_path_after): Likewise.
+       * except.c (gen_eh_region, resolve_one_fixup_region,
+       remove_unreachable_regions, convert_from_eh_region_ranges_1,
+       add_ehl_entry, duplicate_eh_region_1, build_post_landing_pads,
+       connect_post_landing_pads, sjlj_emit_function_exit,
+       remove_exception_handler_label, remove_eh_handler,
+       reachable_next_level, collect_one_action_chain,
+       output_function_exception_table): Likewise.
+       * explow.c (trunc_int_for_mode, copy_to_mode_reg,
+       optimize_save_area_alloca, allocate_dynamic_stack_space,
+       probe_stack_range, hard_function_value): Likewise.
+       * expmed.c (mode_for_extraction, store_bit_field,
+       store_fixed_bit_field, extract_bit_field, expand_shift,
+       expand_mult_const, expand_mult, choose_multiplier,
+       expand_mult_highpart, expand_divmod, emit_store_flag,
+       do_cmp_and_jump): Likewise.
+       * expr.c (convert_move, convert_modes, move_by_pieces,
+       move_by_pieces_ninsns, move_by_pieces_1, emit_block_move,
+       move_block_from_reg, gen_group_rtx, emit_group_load,
+       emit_group_move, emit_group_store, use_reg, use_regs,
+       can_store_by_pieces, store_by_pieces, store_by_pieces_1,
+       emit_move_insn, emit_move_insn_1, emit_push_insn,
+       expand_assignment, store_expr, count_type_elements,
+       store_constructor, store_field, safe_from_p, expand_var,
+       expand_expr_addr_expr, expand_expr_real_1, do_store_flag): Likewise.
+
+2004-09-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * dbxout.c (dbxout_type, dbxout_type_name, dbxout_symbol): Use
+       gcc_assert and gcc_unreachable.
+       * ddg.c (create_ddg_dependence, add_deps_for_def,
+       add_deps_for_use, create_ddg, add_edge_to_ddg): Likewise.
+       * df.c (df_ref_unlink, df_ref_record, df_uses_record,
+       df_reg_def_chain_create, df_reg_use_chain_create, df_analyze,
+       df_insn_delete, df_refs_reg_replace, df_ref_reg_replace,
+       df_insns_modify, df_pattern_emit_before, df_bb_reg_live_start_p,
+       df_bb_reg_live_end_p, df_bb_regs_lives_compare,
+       df_bb_single_def_use_insn_find, dataflow_set_a_op_b,
+       dataflow_set_copy, hybrid_search, diagnostic.c,
+       diagnostic_build_prefix, diagnostic_count_diagnostic): Likewise.
+       * dojump.c (do_jump): Likewise.
+       * dominance.c (calc_dfs_tree_nonrec, calc_dfs_tree,
+       compute_dom_fast_query, calculate_dominance_info,
+       free_dominance_info, get_immediate_dominator,
+       set_immediate_dominator, get_dominated_by,
+       redirect_immediate_dominators, nearest_common_dominator,
+       dominated_by_p, verify_dominators, recount_dominator,
+       iterate_fix_dominators, add_to_dominance_info,
+       delete_from_dominance_info): Likewise.
+       * dwarf2asm.c (size_of_encoded_value, eh_data_format_name,
+       dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
+       dw2_force_const_mem, dw2_asm_output_encoded_addr_rtx): Likewise.
+       * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes, reg_save,
+       initial_return_save, stack_adjust_offset, dwarf2out_stack_adjust,
+       flush_queued_reg_saves, dwarf2out_frame_debug_expr,
+       dwarf2out_frame_debug, dw_cfi_oprnd1_desc, output_cfi,
+       output_call_frame_info, output_loc_operands, build_cfa_loc,
+       decl_ultimate_origin, AT_flag, AT_int, AT_unsigned, AT_string,
+       AT_string_form, add_AT_specification, AT_ref, set_AT_ref_external,
+       AT_loc, AT_loc_list, AT_addr, AT_lbl, add_child_die,
+       splice_child_die, attr_checksum, same_dw_val_p,
+       break_out_includes, build_abbrev_table, size_of_die, mark_dies,
+       unmark_dies, value_format, output_loc_list, output_die,
+       output_pubnames, output_aranges, base_type_die, is_base_type,
+       modified_type_die, dbx_reg_number, multiple_reg_loc_descriptor,
+       mem_loc_descriptor, loc_descriptor, loc_descriptor_from_tree_1,
+       field_byte_offset, add_data_member_location_attribute,
+       add_const_value_attribute, rtl_for_decl_location,
+       add_location_or_const_value_attribute, add_byte_size_attribute,
+       add_bit_offset_attribute, add_bit_size_attribute,
+       add_abstract_origin_attribute, pop_decl_scope, scope_die_for,
+       decl_start_label, gen_formal_parameter_die,
+       gen_type_die_for_member, gen_subprogram_die, gen_label_die,
+       gen_typedef_die, gen_type_die, gen_tagged_type_instantiation_die,
+       force_decl_die, force_type_die, gen_decl_die,
+       dwarf2out_imported_module_or_decl, prune_unused_types_prune,
+       dwarf2out_finish): Likewise.
+
+2004-09-08  Andreas Tobler  <toa@pop.agri.ch>
+
+       * Makefile.in (builtins.o): Depend on tree-mudflap.h.
+       * builtins.c: Include tree-mudflap.h.
+
+2004-09-08  Uros Bizjak  <uros@kss-loka.si>
+
+       * config/i386/i386.c (ix86_prepare_fp_compare_args): Do not
+       force operand 0.0 into register in XFmode. Also do not force
+       operand 0.0 into register if !TARGET_CMOVE.
+       * config/i386/i386.md (*cmpfp_0): Delete. Remove comment.
+       (*cmpfp_0_sf, cmpfp_0_df, cmpfp_0_xf): New patterns to 
+       implement ftst x87 instruction.
+       (*fp_jcc_7): New insn pattern. Change corresponding split
+       pattern to handle "general_operand" instead of
+       "nonimmediate_operand".
+
+2004-09-08  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/rtl.texi (Insns): Document NOTE_INSN_FUNCTION_BEG.
+
+2004-09-07  Frank Ch. Eigler  <fche@redhat.com>
+
+       * builtins.c (std_gimplify_va_arg_expr): Mark INDIRECT_REF nodes
+       generated from standard va_arg expansion.
+       * tree-mudflap.c (mx_xform_derefs_1): Omit instrumentation from
+       marked nodes.
+       (mf_varname_tree, mf_file_function_line_tree): Add some support
+       for column numbers if compiled with USE_MAPPED_LOCATION.
+
+2004-09-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * c-decl.c (groktypename_in_parm_context): Remove function.
+       * c-tree.h (groktypename_in_parm_context): Remove prototype.
+
+2004-09-07  Ziemowit Laski  <zlaski@apple.com>
+
+       * Makefile.in (c-parse.o): Depend on $(C_COMMON_H).
+       * c-parse.in: Include c-common.h instead of objc-act.h.
+       (ivar_decl_list, ivar_decls, ivar_decl, ivars, ivar_declarator,
+       myparms, myparm): Remove %type declarations.
+       (methodtype, optparms, OBJC_TYPE_QUAL, objc_quals, objc_qual,
+       objc_typename, objc_try_catch_stmt, optellipsis): Add %type
+       declarations.
+       (objc_inherit_code, objc_public_flag): Remove.
+       (typespec_nonreserved_nonattr): Call
+       objc_get_protocol_qualified_type() instead of get_static_reference()
+       and get_protocol_reference().
+       (stmt_nocomp): Call grokparm() on @catch parameter.
+       (objcdef): Move semantic action to objc_finish_implementation().
+       (classdef): Move semantic action to objc_start_class_interface(),
+       objc_continue_interface(), objc_finish_interface(),
+       objc_start_class_implementation(), objc_continue_implementation(),
+       objc_start_category_interface() and
+       objc_start_category_implementation().
+       (protocoldef): Move semantic actions to objc_start_protocol() and
+       objc_finish_interface().
+       (ivar_decl_list): Remove nonterminal.
+       (visibility_spec): Move semantic actions to objc_set_visibility().
+       (ivar_decls): Remove assignment to $$.
+       (ivar_decl): Rephrase in terms of component_decl; call
+       objc_add_instance_variable().
+       (ivars, ivar_declarator): Remove nonterminals.
+       (opt_semi): New nonterminal.
+       (methodtype): Remove semantic actions.
+       (methoddef): Move semantic actions to objc_set_method_type(),
+       objc_start_method_definition() and objc_finish_method_definition().
+       (methodproto): Move semantic actions to objc_set_method_type() and
+       objc_add_method_declaration().
+       (methoddecl): Use objc_typename instead of typename; move semantic
+       actions to objc_build_method_signature().
+       (optarglist, myxdecls, mydecl, myparms, myparm): Remove nonterminals.
+       (optparmlist): Express in terms of optparms and optellipsis.
+       (optparms, optellipsis, objc_qual, objc_quals, objc_typename): New
+       nonterminals.
+       (keyworddecl): Use objc_typename instead of typename.
+       (rid_to_yy): Mark RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_BYREF
+       and RID_ONEWAY as returning OBJC_TYPE_QUAL to yyparse().
+
+2004-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/tm.texi (MD_UNWIND_SUPPORT): Document.
+       (MD_FALLBACK_FRAME_STATE_FOR): Update.
+       * unwind-dw2.c (MD_UNWIND_SUPPORT): #include if defined.
+       (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation.
+       (MD_FROB_UPDATE_CONTEXT): Remove default.
+       (uw_update_context_1): Instead #ifdef invocation.
+       * config/ia64/unwind-ia64.c (MD_UNWIND_SUPPORT): #include if defined.
+       (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation.
+       * config/alpha/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Don't undef.
+       (MD_UNWIND_SUPPORT): Undefine this instead.
+       * config/i386/gnu.h: Likewise.
+       * config/alpha/linux-unwind.h: New file, macro converted to
+       function, extracted from..
+       * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): ..this.
+       (MD_UNWIND_SUPPORT): Define.
+       * config/alpha/vms-unwind.h, config/alpha/vms.h: Likewise.
+       * config/i386/linux-unwind.h, config/i386/linux.h,
+       config/i386/linux64.h: Likewise.
+       * config/ia64/linux-unwind.h, config/ia64/linux.h: Likewise.
+       MD_HANDLE_UNWABI too.
+       * config/mips/linux-unwind.h, config/mips/linux.h: Likewise.
+       * config/pa/linux-unwind.h, config/pa/pa32-linux.h: Likewise.
+       * config/rs6000/darwin-unwind.h, config/rs6000/darwin.h: Likewise.
+       * config/s390/linux-unwind.h, config/s390/linux.h: Likewise.
+       * config/sparc/linux-unwind.h, config/sparc/linux.h,
+       config/sparc/linux64.h: Likewise.
+       * config/sh/linux-unwind.h, config/sh/linux.h: Likewise, but merge
+       SH_FALLBACK_FRAME_FLOAT_STATE into sh_fallback_frame_state.
+       * config/rs6000/linux-unwind.h, config/rs6000/linux.h,
+       config/rs6000/linux64.h: Likewise.  Split out get_sigcontext
+       function.  Use ARG_POINTER_REGNUM for 32-bit temp reg too.
+
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * cse.c (fold_rtx):  Avoid building of
+       (CONST (MINUS (CONST_INT) (SYMBOL_REF)))
+
+       * tree-ssa-pre.c (grand_bitmap_obstack): New.
+       (value_insert_into_set_bitmap, bitmap_set_new): Use the obstack.
+       (init_pre): Initialize obstack.
+       (fini_pre): Free obstack.
+
+2004-09-07  David Daney  <ddaney@avtrex.com>
+
+       * config.gcc: Added support for --with-divide=[breaks|traps] for
+       mips targets.
+       * config/mips/mips.h (MASK_DIVIDE_BREAKS): New target_flags bit.
+       (TARGET_DIVIDE_TRAPS): New macro.
+       (TARGET_SWITCHES): Added -mdivide-traps and -mdivide-breaks.
+       (OPTION_DEFAULT_SPECS): Added --with-divide= support.
+       * config/mips/mips.c (mips_idiv_insns): Generate proper count on
+       GENERATE_DIVIDE_TRAPS.
+       (mips_output_division): Emit conditional trap if
+       GENERATE_DIVIDE_TRAPS is set.
+       * doc/install.texi: Document --with-divide.
+       * doc/invoke.texi: Document -mdivide-traps and -mdivide-breaks.
+
+2004-09-07  Caroline Tice  <ctice@apple.com>
+
+       * cfgrtl.c (rtl_verify_flow_info_1):  Add new edge flag,
+       EDGE_CROSSING, to flags test case.
+       
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Deal with '<'
+       class too.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * cfganal.c (flow_depth_first_order_compute, dfs_enumerate_from,
+       cfgbuild.c, inside_basic_block_p, control_flow_insn_p,
+       make_label_edge, make_edges, find_basic_blocks_1): Use gcc_assert
+       or gcc_unreachable.
+       * cfg.c (clear_edges, initialize_bb_rbi, compact_blocks,
+       remove_edge, alloc_aux_for_blocks, free_aux_for_blocks,
+       alloc_aux_for_edges, free_aux_for_edges): Likewise.
+       * cfgcleanup.c (try_forward_edges,
+       merge_blocks_move_predecessor_nojumps,
+       merge_blocks_move_successor_nojumps): Likewise.
+       * cfgexpand.c (expand_gimple_cond_expr,
+       expand_gimple_tailcall): Likewise.
+       * cfghooks.c (duplicate_block): Likewise.
+       * cfglayout.c (record_effective_endpoints,
+       insn_locators_initialize, change_scope, fixup_reorder_chain,
+       verify_insn_chain, fixup_fallthru_exit_predecessor,
+       duplicate_insn_chain, cfg_layout_finalize): Likewise.
+       * cfgloopanal.c (check_irred): Likewise.
+       * cfgloop.c (superloop_at_depth, flow_loops_free,
+       flow_loop_entry_edges_find, flow_loops_find,
+       flow_loop_outside_edge_p, get_loop_body,
+       get_loop_body_in_dom_order, get_loop_body_in_bfs_order,
+       get_loop_exit_edges, num_loop_branches, cancel_loop,
+       verify_loop_structure): Likewise.
+       cfgloopmanip.c (find_path, remove_path, loop_delete_branch_edge,
+       duplicate_loop_to_header_edge, create_preheader,
+       create_loop_notes): Likewise.
+       * cfgrtl.c (delete_insn, try_redirect_by_replacing_jump,
+       edirect_branch_edge, force_nonfallthru_and_redirect,
+       rtl_split_edge, insert_insn_on_edge, commit_one_edge_insertion,
+       commit_edge_insertions, commit_edge_insertions_watch_calls,
+       purge_dead_edges, cfg_layout_redirect_edge_and_branch,
+       cfg_layout_redirect_edge_and_branch_force,
+       cfg_layout_merge_blocks, rtl_flow_call_edges_add): Likewise.
+       * cgraph.c (cgraph_node, cgraph_create_edge, cgraph_remove_edge,
+       cgraph_redirect_edge_callee, cgraph_global_info, cgraph_rtl_info,
+       cgraph_varpool_node): Likewise.
+       * cgraphunit.c (cgraph_finalize_function,
+       cgraph_finalize_compilation_unit, cgraph_mark_functions_to_output,
+       cgraph_expand_function, cgraph_remove_unreachable_nodes,
+       cgraph_clone_inlined_nodes, cgraph_mark_inline_edge,
+       cgraph_mark_inline, cgraph_expand_all_functions,
+       cgraph_build_static_cdtor): Likewise.
+       * combine.c  (do_SUBST, try_combine, subst, combine_simplify_rtx,
+       simplify_logical, distribute_notes, insn_cuid): Likewise.
+       * conflict.c (conflict_graph_add, print_conflict): Likewise.
+       * coverage.c (rtl_coverage_counter_ref, tree_coverage_counter_ref,
+       coverage_checksum_string): Likewise.
+       * cse.c (make_new_qty, make_regs_eqv, insert, invalidate,
+       hash_rtx, exp_equiv_p, cse_basic_block, count_reg_usage,
+       cse_cc_succs, cse_condition_code_reg): Likewise.
+       * cselib.c (entry_and_rtx_equal_p, remove_useless_values,
+       rtx_equal_for_cselib_p, wrap_constant, cselib_hash_rtx,
+       new_cselib_val, cselib_subst_to_values, cselib_invalidate_regno,
+       cselib_record_set): Likewise.
+
+2004-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (iv_value): Avoid invalid sharing on niter.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * builtins.c (fold_builtin_strchr): Use build_int_cst, not
+       fold_convert.
+       (fold_builtin_strpbrk): Likewise.
+       * expr.c (array_ref_low_bound): Likewise.
+       * tree-scalar-evolution.c (chrec_is_positive, add_to_evolution_1,
+       interpret_rhs_modify_expr, number_of_iterations_in_loop): Likewise.
+       * tree-sra.c (generate_element_zero): Likewise.
+       * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise.
+       * tree-ssa-loop-ivopts.c (determine_biv_step, idx_find_step,
+       add_old_iv_candidates, add_iv_candidates): Likewise.
+       * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable.
+       * c-common.c (c_type_hash, c_common_nodes_and_builtins,
+       c_expand_expr, boolean_increment, nonnull_check_p,
+       check_function_arguments_recurse, fold_offsetof_1): Likewise.
+       * c-cppbuiltin.c (define__GNUC__, builtin_define_stdint_macros,
+       builtin_define_type_max): Likewise.
+       * c-decl.c (bind, pop_scope, merge_decls, pushdecl_top_level,
+       implicit_decl_warning, builtin_function, build_compound_literal,
+       complete_array_type, grokdeclarator, get_parm_info,
+       start_function, store_parm_decls_oldstyle,
+       c_write_global_declarations): Likewise.
+       * c-format.c (get_constant, decode_format_attr,
+       maybe_read_dollar_number, get_flag_spec, check_format_arg,
+       check_format_types, format_type_warning,
+       find_char_info_specifier_index, init_dynamic_asm_fprintf_info,
+       init_dynamic_diag_info, handle_format_attribute): Likewise.
+       * c-gimplify.c (push_context, pop_context, finish_bc_block): 
+       * c-lex.c (c_lex_with_flags, lex_string): Likewise.
+       * c-objc-common.c (c_tree_printer): Likewise.
+       * c-pch.c (pch_init): Likewise.
+       * c-pragma.c (maybe_apply_pragma_weak): Likewise.
+       * c-pretty-print.c (pp_c_tree_decl_identifier): Likewise.
+       * c-typeck.c (c_incomplete_type_error, composite_type,
+       common_pointer_type, common_type, same_translation_unit_p,
+       tagged_types_tu_compatible_p, finish_init, pop_init_level,
+       set_designator, set_nonincremental_init_from_string,
+       process_init_element, c_finish_if_stmt): Likewise.
+       * caller-save.c (init_caller_save, save_call_clobbered_regs,
+       insert_restore, insert_save, insert_one_insn): Likewise.
+       * calls.c (emit_call_1, compute_argument_block_size,
+       precompute_arguments, expand_call, emit_library_call_value_1,
+       store_one_arg): Likewise.
+
+2004-09-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * configure.ac (enable-checking): Add release option. Reorganize
+       to avoid repetition.
+       * configure: Rebuilt.
+       * doc/install.texi (enable-checking): Amend documentation.
+
+2004-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/17313
+       * Makefile.in (specs.ready): Depend on cc1$(exeext).
+
+2004-09-06  James E Wilson  <wilson@specifixinc.com>
+
+       * config/mips/mips.md (movsf_hardfloat, movdf_hardfloat_64bit,
+       movdf_hardfloat_32bit): Split fG into two alternatives.
+       (movv2sf_hardfloat_64bit): Split fYG into two alternatives.
+
+       * emit-rtl.c (try_split): Check INSN_P before may_trap_p call.
+
+2004-09-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * final.c (output_in_slot): Delete.
+       (final_scan_insn): Revert 2004-09-03 change.
+       (output_asm_insn): Likewise.
+       * config/sparc/sparc.c (output_return): Likewise.
+       (output_sibcall): Likewise.
+
+2004-09-06  Jan Hubicka  <jh@suse.cz>
+
+       * loop.c (loop_dump_aux): Do not print RTL when not available.
+       * tree-ssa-loop-ivopts.c (add_standard_iv_candidates): Do not use
+       frontend specific type nodes.
+       (produce_memory_decl_rtl): Break out from ...
+       (prepare_decl_rtl): ... here.  Handle ADDR_EXPR correctly.
+       (get_computation_at): Avoid random tree sharing.
+       (tree_ssa_iv_optimize): Verify tree sharing; dump loops.
+
 2004-09-06  Zack Weinberg  <zack@codesourcery.com>
 
        * Makefile.in (rtl.o, bitmap.o): Correct dependencies, remove