OSDN Git Service

* tree-ssa-loop-ivopts.c (ivopts_data, decl_rtl_to_reset,
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2b52cb3..7749832 100644 (file)
@@ -1,3 +1,208 @@
+2005-04-26  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-loop-ivopts.c (ivopts_data, decl_rtl_to_reset,
+       n_iv_uses, iv_use, n_iv_cands, iv_cand,
+       tree_ssa_iv_optimize_init, record_use, add_candidate_1,
+       prepare_decl_rtl, free_loop_data,
+       tree_ssa_iv_optimize_finalize): Use the VEC API instead of
+       VARRAY.
+
+2005-04-26  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/arm.md (thumb_mulsi3): Use two-operand assembly form.
+
+2005-04-26  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/mips.mips.c (mips_legitimize_tls_address): Use
+       gcc_unreachable.
+
+       * config/mmix/mmix.c (mmix_assemble_integer): Use gcc_assert.
+       * config/mmix/crti.asm (_init): Reword comment to avoid 'abort'.
+       * config/mmix/mmix.md (nonlocal_goto_receiver): Likewise.
+
+       * config/sparc/sparc.h (enum reg_class): Reword comment to avoid
+       'abort'.
+
+2005-04-26  Jeff Law  <law@redhat.com>
+
+       * tree-flow-inline.h (op_iter_next_must_and_may_def): New.
+       (op_iter_init_must_and_may_def): Likewise.
+       (unmodifiable_var_p): Move to a later point in the file.
+       * tree-ssa-operands.h (FOR_EACH_SSA_MUST_AND_MAY_DEF_OPERAND): New.
+       * tree-ssa-dse.c (need_imm_uses_for): Remove, no longer needed.
+       (dse_record_phis): Directly check for virtual operands rather than
+       using need_imm_uses_for.
+       (dse_optimize_stmt): Handle V_MUST_DEF operands.  Handle case where
+       store has multiple V_{MAY,MUST}_DEF operands.
+
+2005-04-26  Andrew MacLeod  <amacleod@redhat.com>
+
+       * tree-cfg.c (bsi_replace): Delink immediate uses for the original
+       stmt.
+
+2005-04-26  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (lv_adjust_loop_header_phi): Speed up moving a
+       call to find_edge outside a loop to go through a PHI chain.
+
+2004-04-26  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       PR tree-optimization/17598
+       * fold-const.c (fold_binary): Fold comparisons of addresses
+       of COMPONENT_REFs which reference the same field to
+       comparisons of the addresses of the base objects.
+
+2005-04-26  Julian Brown  <julian@codesourcery.com>
+
+       * config/arm/arm.c (arm_return_in_msb): New function.
+       (arm_must_pass_in_stack): New function.
+       (TARGET_RETURN_IN_MSB): Define target hook.
+       (TARGET_MUST_PASS_IN_STACK): Define target hook.
+       (arm_function_value): Pad small aggregate return.
+       (arm_pad_arg_upward): New function.
+       (arm_pad_reg_upward): New function.
+       * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Include complex values.
+       (FUNCTION_ARG_PADDING): Define macro.
+       (BLOCK_REG_PADDING): Define macro.
+       (PAD_VARARGS_DOWN): Correct padding for AAPCS.
+       * config/arm/arm-protos.h (arm_pad_arg_upward): Declare function.
+       (arm_pad_reg_upward): Declare function.
+
+2005-04-26  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * basic-block.h (ei_cond): New.
+       (FOR_EACH_EDGE): Call ei_cond.
+
+       PR tree-optimization/21047
+       * fold-const.c (fold_binary): Abort on ASSERT_EXPR.
+       (fold): Don't handle ASSERT_EXPR.
+
+2005-04-25  Roger Sayle  <roger@eyesopen.com>
+
+       * sched-deps.c (sched_analyze_1): On STACK_REGS targets, x87, treat
+       all writes to any stack register as a read/write dependency on
+       FIRST_STACK_REG.
+       (sched_analyze_2): Likewise, for reads from any stack register.
+
+2005-04-25  Richard Henderson  <rth@redhat.com>
+
+       * final.c (output_addr_const): Revert 2005-04-09 change.
+
+2005-04-25  Mike Stump  <mrs@apple.com>
+
+       * config/darwin.c (darwin_encode_section_info): Always set
+       MACHO_SYMBOL_STATIC for all ! TREE_PUBLIC symbols.
+
+2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * collect2.c, gcc.c, gcov-dump.c, gcov.c, gen-protos.c,
+       gensupport.c, protoize.c, toplev.c: Replace calls to
+       `unlock_stream' with `unlock_std_streams'.
+
+2005-04-25  Devang Patel <dpatel@apple.com>
+
+       * dbxout.c (dbxout_type): Emit attribute vector.
+       
+2005-04-05  Paul Brook  <julian@codesourcery.com>
+
+       * target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
+       * target.h (struct gcc_target): Add cxx.use_aeabi_atexit.
+       * config/arm/arm.c (arm_cxx_atexit_name): New function.
+       (TARGET_CXX_USE_AEABI_ATEXIT): New macro.
+       * cp/decl.c (get_atexit_node): Reorder arguments for __aeabi_atexit.
+       (register_dtor_fn): Likewise.
+       * doc/tm.texi: Document TARGET_CXX_USE_AEABI_ATEXIT.
+
+2005-04-25  Ian Lance Taylor  <ian@airs.com>
+
+       * c-common.def (EXPR_STMT): Remove, moved to C++ frontend.
+       * c-common.h (EXPR_STMT_EXPR): Don't define.
+       (c_common_stmt_codes): Don't define.
+       * c-dump.c (c_dump_tree): Remove EXPR_STMT case.
+       * c-gimplify.c (gimplify_expr_stmt): Remove.
+       (c_gimplify_expr): Remove EXPR_STMT case.
+       * c-objc-common.c (c_objc_common_init): Remove stmt_codes and call
+       to INIT_STATEMENT_CODES.
+       * c-pretty-print.c (pp_c_statement): Just call dump_generic_node.
+
+2005-04-25  Jan Hubicka  <jh@suse.cz>
+
+       * tree-cfg.c (tree_duplicate_bb): Duplicate EH region too.
+
+       * except.c: Include diagnostic.h
+       (dump_eh_tree, verify_eh_tree): New functions.
+       * except.h (verify_eh_tree, dump_eh_tree, verify_eh_edges): Declare.
+       * tree-cfg.c (tree_verify_flow_info): verify eh edges.
+       (dump_function_to_file): dump eh tree.
+       * tree-eh.c (mark_eh_edge): New function.
+       (mark_eh_edge_found_error): New static variable.
+       (verify_eh_edges): New function.
+
+2005-04-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tree-ssa-alias.c (fieldoff_t): Remove.
+       (fieldoff_s): typedef the structure itself.  Create a vector of
+       objects.
+       (push_fields_onto_fieldstack): Return count of fields pushed.
+       Remove peeling of first field.  Adjust.
+       (fieldoff_compare): Adjust.
+       (create_overlap_variables_for): Adjust.
+
+2005-04-25  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/invoke.texi (Blackfin Options): Avoid empty @opindex line.
+
+2005-04-25  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR bootstrap/21215
+       * doc/install.texi: Document correct assembler and linker to use
+       on i?86-*-solaris2.10.
+
+2005-04-25  Steven Bosscher  <stevenb@suse.de>
+
+       Fix PR tree-optimization/21173
+
+       * tree-ssa-pre.c (create_expression_by_pieces): Simplify code.
+       Unshare expression we pass to force_gimple_operand.
+
+2005-04-25  J"orn Rennecke <joern.rennecke@st.com>
+           Stephen Clarke <stevec@superh.com>
+           Roger Sayle <roger@eyesopen.com>
+
+       PR rtl-optimization/20413
+       * cfgrtl.c (redirect_edge_and_branch): Use Pmode instead of
+       VOIDmode for LABEL_REF.
+       * final.c (shorten_branches): Likewise.
+       * jump.c (mark_all_labels, redirect_exp_1): Likewise.
+       * loop.c (reg_dead_after_loop): Likewise.
+       * varasm.c (decode_addr_const): Likewise.
+       * doc/rtl.texi: Document mode requirement for LABEL_REF.
+
+2005-04-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       * config.gcc (avr-*-*): Remove redundant "case".
+
+2005-04-25  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-vect-analyze.c (vect_mark_relevant): Take
+       VEC(tree,heap) instead of varray_type as an argument.
+       (vect_mark_stmts_to_be_vectorized): Change the type of
+       worklist to VEC(tree,heap).  Adjust uses of worklist.
+
+2005-04-24  Devang Patel  <dpatel@apple.com>
+
+       *  config/rs6000/darwin.h (ASM_OUTPUT_MAX_SKIP_ALIGN): New.
+       
+2005-04-24  Ian Lance Taylor  <ian@airs.com>
+
+       * c-semantics.c (build_stmt): Remove test of specific tree codes
+       for TREE_SIDE_EFFECTS handling.
+
+2005-04-24  Per Bothner  <per@bothner.com>
+
+       * c-opts.c (finish_options):  Make the line-number of the <built-in>
+       location 0, as assumed elsewhere, rather than 1.
+
 2005-04-24  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-ssa-uncprop.c (equiv_stack): Change the type o