OSDN Git Service

* config/vax/elf.h: Update whitespace.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index cb6bc1b..4bff4f1 100644 (file)
@@ -1,3 +1,235 @@
+2005-05-14  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
+
+       * config/vax/elf.h: Update whitespace.
+
+2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       Revert
+       2005-05-11  Richard Guenther  <rguenth@gcc.gnu.org>
+       * fold-const.c (fold_indirect_ref_1): Avoid removing
+       NOP_EXPRs with type qualifiers like const.
+
+2005-05-14  Jan Hubicka  <jh@suse.cz>
+
+       Patch by Richard Henderson:
+       * tree-eh.c (tree_can_throw_internal, tree_can_throw_external):
+       Handle RESX expressions properly.
+
+       * tree-eh.c (record_stmt_eh_region): Use add_stmt_to_eh_region.
+       (add_stmt_to_eh_region_fn): Nest into CALL_EXPR.
+       (remove_stmt_from_eh_region_fn): Likewise.
+
+       * tree-cfg.c (execute_warn_function_return): Break out noreturn
+       warning too..
+       (execute_warn_function_noreturn): ... here.
+       (pass_warn_function_noreturn): New pass.
+       * tree-pass.h (pass_warn_function_noreturn): Declare
+       * tree-optimize.c (init_tree_optimization_passes): Move return
+       warnings early and add noreturn warnings at place of previous
+       return warnings.
+
+2005-05-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-live.c (tpa_init, tpa_delete, tpa_compact,
+       root_var_init, type_var_init): Use VEC instead of VARRAY.
+       * tree-ssa-live.h (tree_partition_associator_d): Change the
+       type of trees to VEC(tree,heap)*.
+       (tpa_tree): Use VEC instead of VARRAY.
+
+2005-05-14  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       * fold-const.c (div_if_zero_remainder): New function.
+       (try_move_mult_to_index): Use it.
+
+2005-05-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-eh.c (leh_tf_state): Change the type of dest_array to
+       VEC(tree,heap)*.
+       (maybe_record_in_goto_queue, lower_try_finally_onedest,
+       lower_try_finally_copy, lower_try_finally_switch,
+       lower_try_finally): Use VEC instead of VARRAY.
+
+2005-05-14  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (Node: Register Classes): Remove obsoleted
+       comment regarding defined register classes.
+       (LEGITIMIZE_RELOAD_ADDRESS): Do not define.
+
+2005-05-14  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-optimize.c (init_tree_optimization_passes): Move
+       pass_merge_phi before the first pass_dominator.
+
+2005-05-13  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.h (INITIALIZE_TRAMPOLINE): Make the call to __clear_cache
+       unconditional.
+
+2005-05-13  Josh Conner  <jconner@apple.com>
+
+       * config/arm/arm.c (arm_size_return_regs): New.
+       (thumb_unexpanded_epilogue): replace in-line calculation
+       of return registers with call to arm_size_return_regs.
+       (use_return_insn): Include test of which registers are
+       being used to hold return values, to accommodate
+       vector return values.
+
+2005-05-11  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/sysv4.opt (mlittle): Handle.
+
+       * config/rs6000/rs6000.c (rs6000_handle_option): Set
+       target_flags_explicit when appropriate.
+
+2005-05-13  J"orn Rennecke <joern.rennecke@st.com>
+
+       PR middle-end/20714:
+       * optabs.c (no_conflict_data): New struct.
+       (no_conflict_move_test): New function.
+       (emit_no_conflict_block): Use it.
+
+2005-05-13  Adam Nemet  <anemet@lnxw.com>
+
+       * doc/invoke.texi (Debugging Options): Option
+       -fdump-translation-unit only works with C++ now.
+
+2005-05-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       Replace calls to abort in CRIS port.
+       * config/cris/cris.h (CRIS_ASSERT): New macro.
+       * config/cris/cris.md ("*movsi_internal"): Use CRIS_ASSERT and
+       internal_error instead of abort.
+       ("movsi"): Ditto.  Unquote preparation statement section.
+       ("call", "call_value"): Ditto, but use gcc_assert where
+       appropriate.  Tweak comments.
+       * config/cris/cris.c (ASSERT_PLT_UNSPEC): Define in terms of
+       CRIS_ASSERT.
+       (cris_op_str): Call internal_error, not abort.
+       (cris_print_operand): Tweak "abort" reference to "die" in comment.
+       (cris_initial_elimination_offset): Call gcc_unreachable, not abort.
+       (cris_notice_update_cc): Call internal_error, not abort.
+       (cris_expand_return, cris_expand_prologue, cris_gen_movem_load)
+       (cris_emit_movem_store, cris_asm_output_symbol_ref)
+       (cris_output_addr_const_extra): Use CRIS_ASSERT, don't call abort.
+       (cris_symbol, cris_got_symbol): Use CRIS_ASSERT instead of
+       ENABLE_CHECKING-guarded abort call.
+       (cris_split_movdx): Use CRIS_ASSERT instead of abort with test.
+       Use internal_error at end of test-chain.
+
+2005-05-13  J"orn Rennecke <joern.rennecke@st.com>
+
+       PR rtl-optimization/20769:
+       * bt-load.c (compute_defs_uses_and_gen): Check for the blockage
+       pattern emitted by expand_nl_goto_receiver.
+
+       PR middle-end/20793:
+       * integrate.c (allocate_initial_values): Update register liveness
+       information.
+
+2005-05-13  Josh Conner  <jconner@apple.com>
+
+       * arm.c (arm_return_in_memory): Add handling for vector return types.
+
+2005-05-13  David Ung  <davidu@mips.com>
+
+       * config/mips/mips.h (processor_type): Add new PROCESSOR_4KP
+       name.
+       * config/mips/mips.c: Add 4km alias.
+       * config/mips/mips.md: Add 4kp to cpu attrib and include 4k.md.
+       * config/mips/4k.md: New file, add 4Kc/4Kp DFA pipeline
+       description.
+
+2005-05-13  Jan Hubicka  <jh@suse.cz>
+
+       * c-decl.c (finish_function): Suppress "control reaches end of
+       non-void function" when "no return statement in function
+       returning non-void" is issued.
+
+       * tree-inline.c (copy_body_r): Simplify substituted ADDR_EXPRs.
+       * tree-optimize.c (pass_gimple): Kill.
+       (init_tree_optimization_passes): Kill pass_gimple.
+       * tree-cfg.c (build_tree_cfg): Do verify_stmts to check that we are gimple.
+       * tree-dump.c (dump_files): Rename .generic to .gimple.*
+
+2005-05-13  J"orn Rennecke <joern.rennecke@st.com>
+
+       PR rtl-optimization/20756:
+       * basic-block.h (PROP_DEAD_INSN): Define.
+       * flow.c (propagate_one_insn): Set during mark_set_regs call
+       for a dead insn.
+       (mark_set_1): Emit a clobber when we are about to delete a dead insn
+       that kills a live register.
+
+2005-05-13  Adrian Straetling  <straetling@de.ibm.com>
+
+       * config/s390/s390.md: ("DBL"): New mode attribute.
+       ("*movmem_long_64", "*movmem_long_31"): Merge to "*movmem_long".
+       ("*clrmem_long_64", "*clrmem_long_31"): Merge to "*clrmem_long".
+       ("*cmpmem_long_64", "*cmpmem_long_31"): Merge to "*cmpmem_long".
+
+2005-05-13  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       * c-format.c (check_format_arg): Handle string literals of
+       the form &"string"[offset].
+
+       * g++.dg/warn/format4.C: New testcase.
+
+2005-05-13  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/mips/3000.md, config/mips/4000.md,
+       config/mips/4100.md, config/mips/4300.md, config/mips/4600.md,
+       config/mips/5000.md, config/mips/7000.md, config/mips/9000.md,
+       config/mips/generic.md, config/pdp11/pdp11.md,
+       config/sh/crt1.asm, config/sh/lib1funcs.asm,
+       config/sh/sh-modes.def, config/sh/sh-protos.h,
+       config/sh/shmedia.md, config/sh/ushmedia.h: Update copyright.
+
+2005-05-13  Richard Henderson  <rth@redhat.com>
+
+       * function.c (instantiate_virtual_regs_in_insn): Do not simplify
+       addition to move unless dest is a register.  Do not skip 
+       instantiation in dest on addition simplification.
+
+2005-05-13  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.c (cris_print_operand) <case 'H'; case
+       CONST_INT>: Use operand_subword and HOST_WIDE_INT_PRINT_DEC for
+       output; don't have special case for HOST_BITS_PER_WIDE_INT == 32.
+
+2005-05-13  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (FOR_ALL_BB_FN): New macro.
+       (init_flow): Initialize cfg structure.
+       * function.c (allocate_struct_function): Do not initialize cfg structure.
+       * tree-cfg.c (init_empty_tree_cfg): Break out from ...
+       (build_tree_cfg): ... here.
+       * tree-flow.h (init_empty_tree_cfg): Declare.
+
+2005-05-12  Steven Bosscher <stevenb@suse.de>
+
+       Fix PR tree-optimization/21520
+       * tree-ssa-pre.c (phi_translate): Use fully_constant_expression
+       to attempt to fold constants.
+
+2005-05-12  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c: Declare the prototype of sh_adjust_unroll_max
+       only when TARGET_ADJUST_UNROLL_MAX is defined.
+       (general_movsrc_operand): Use the C style comment.
+       (ua_offset): Use prototype.
+
+2005-05-12  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-loop-im.c (struct mem_ref): Add field "next".
+       (struct hmr_data, hoist_memory_reference, memref_del,
+       struct fmrv_data): Removed.
+       (hoist_memory_references, free_mem_ref, free_mem_refs): New functions.
+       (gather_mem_refs, gather_mem_refs_stmt): Add new references to the
+       list.
+       (find_more_ref_vops): Traverse the list of memory references.
+       (determine_lsm_loop): Work with the list of memory references instead
+       of traversing the hashtable.
+
 2005-05-12  Steven Bosscher  <stevenb@suse.de>
            Stuart Hastings <stuart@apple.com>
            Jan Hubicka  <jh@suse.cz>