OSDN Git Service

2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3ec28c7..48af628 100644 (file)
@@ -1,3 +1,381 @@
+2005-02-07  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       * config/m68k/t-rtems (MULTILIB_MATCHES): Let m528x match m5200.
+
+2005-02-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR other/17135
+       * doc/invoke.texi: Correct documentation of -freorder-functions.
+
+2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR other/14402
+       * doc/invoke.texi: Don't mention gccbug.
+
+2005-02-06  Roger Sayle  <roger@eyesopen.com>
+           Andrew Pinski  <pinskia@physics.uc.edu>
+           Paolo Bonzini  <paolo.bonzini@lu.unisi.ch>
+
+       * simplify-rtx.c (simplify_relational_operation_1): Simplify
+       (ne:SI (zero_extract:SI FOO (const_int 1) BAR) (const_int 0))
+       into just (zero_extract:SI FOO (const_int 1) BAR).
+
+2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/cpp.texi: Include gcc-common.texi.  Don't define gcctabopt
+       macro locally.  Don't give last revision date.  Use GCC version
+       number from gcc-common.texi.
+       * doc/cppinternals.texi: Include gcc-common.texi.  Don't give last
+       revision date.  Use GCC version number from gcc-common.texi.
+       Describe being a library as current state rather than as 3.x
+       history.
+       * doc/gcc.texi: Remove last update date.
+       * doc/gccint.texi: Likewise.  Update copyright dates.
+       * doc/install.texi: Update copyright dates.
+
+2005-02-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR other/7549
+       * doc/invoke.texi: Mention for each option included in -Wall that
+       it is included in -Wall.
+       * doc/gcc.texi: Update copyright and last modification date.
+
+2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Do not add
+       unnecessary cast to original induction variable increments.
+
+2005-02-06  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/18219
+       * tree-ssa-loop-ivopts.c (get_computation_at): Produce computations
+       in distributed form.
+
+2005-02-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * expmed.c (store_bit_field): Make the SUBREG code adjust bitnum.
+       Set bitpos and offset later in the function.  Do nothing if the
+       target is a register and if the bitfield lies completely outside
+       that register.
+       (extract_bit_field): Make the same SUBREG, bitpos and offset changes
+       here.  Return an uninitialised register if the source value is stored
+       in a register and the bitfield lies completely outside that register.
+
+2005-02-06  Steven Bosscher  <stevenb@suse.de>
+
+       * df.c (df_insn_refs_record): Use XEXP to get the operand of a USE,
+       not SET_DEST.
+
+2005-02-06  Marcin Dalecki  <martin@dalecki.de>
+
+       * diagnostic.c (default_diagnostic_finalizer): Fix use of attribute.
+
+2005-02-06  Geoffrey Keating  <geoffk@apple.com>
+
+       * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.
+       * config/darwin8.h: New.
+       * config/darwin7.h: Update comment.
+
+2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
+           Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.h (LOC): New type.
+       (UNKNOWN_LOC, EXPR_LOC, LOC_FILE, LOC_LINE): New macros.
+       (loop_line_number): New field in struct _loop_vec_info.
+       (LOOP_VINFO_LOC, LOOP_LOC): New macros.
+
+       * tree-vectorizer.c (input.h): Included.
+       (find_loop_location): New function.
+       (vect_debug_stats): Argument changed from loop to LOC. Computation of
+       loop line number removed.
+       (vect_debug_details): Likewise.
+       (new_loop_vec_info): Initialize new field LOOP_VINFO_LOC.
+
+       (slpeel_make_loop_iterate_ntimes): Call find_loop_location. Argument in
+       call to vect_debug_details/stats changed from loop to loop_loc.
+       (slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
+       (slpeel_tree_peel_loop_to_edge): Likewise.
+
+       (vect_analyze_offset_expr): Argument in call to vect_debug_details/stats
+       changed from NULL to UNKNOWN_LOC.
+       (vect_get_base_and_offset):
+       (vect_create_addr_base_for_vector_ref):
+       (get_vectype_for_scalar_type):
+       (vect_create_data_ref_ptr):
+       (vect_init_vector):
+       (vect_get_vec_def_for_operand):
+       (vect_finish_stmt_generation):
+       (vectorizable_assignment):
+       (vectorizable_operation):
+       (vectorizable_store):
+       (vectorizable_load):
+       (vect_transform_stmt):
+       (vect_update_ivs_after_vectorizer):
+       (vect_do_peeling_for_loop_bound):
+       (vect_do_peeling_for_alignment):
+       (vect_transform_loop):
+       (vect_is_simple_use):
+       (vect_analyze_operations):
+       (vect_is_simple_iv_evolution):
+       (vect_analyze_scalar_cycles):
+       (vect_analyze_data_ref_dependences):
+       (vect_compute_data_ref_alignment):
+       (vect_enhance_data_refs_alignment):
+       (vect_analyze_data_ref_access):
+       (vect_analyze_data_ref_accesses):
+       (vect_analyze_pointer_ref_access):
+       (vect_get_memtag_and_dr):
+       (vect_analyze_data_refs):
+       (vect_mark_relevant):
+       (vect_stmt_relevant_p):
+       (vect_mark_stmts_to_be_vectorized):
+       (vect_can_advance_ivs_p):
+       (vect_get_loop_niters):
+       (vect_analyze_loop):
+       (vectorize_loops): Likewise.
+
+       (vectorizable_load): Argument in call to vect_debug_details/stats
+       changed from loop to LOOP_LOC (loop_vinfo).
+       (vect_transform_loop):
+       (vect_analyze_operations):
+       (vect_analyze_scalar_cycles):
+       (vect_analyze_data_ref_dependence):
+       (vect_enhance_data_refs_alignment):
+       (vect_analyze_data_ref_accesses):
+       (vect_analyze_pointer_ref_access):
+       (vect_analyze_data_refs):
+       (vect_analyze_loop): Likewise.
+
+       (vect_analyze_loop_form): Argument in call to vect_debug_details/stats
+       changed from loop to loop_loc.
+
+       (vect_enhance_data_refs_alignment): Removed unused variable loop.       
+
+2005-02-03  Leehod Baruch  <leehod@il.ibm.com>
+           Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.c (vect_analyze_data_ref_dependence): Function
+       declaration added.
+       (vect_analyze_data_ref_dependences): Likewise.
+
+       (vect_is_simple_use): Argument changed from loop structure to
+       loop_vect_info structure.
+       (vect_can_advance_ivs_p): Likewise.
+       (vect_create_index_for_vector_ref): Likewise.
+       (vect_update_ivs_after_vectorizer): Likewise.
+       (new_stmt_vec_info): Likewise.
+       
+       (new_loop_vec_info): Second argument in call to new_stmt_vec_info was
+       changed from loop to loop_vinfo.
+       (vect_create_data_ref_ptr): First argument in call to
+       vect_create_index_for_vector_ref was changed from loop to loop_vinfo.
+       (vectorizable_assignment): Second argument in call to vect_is_simple_use
+       was changed from loop to loop_vinfo.
+       (vectorizable_operation): Likewise.
+       (vectorizable_store): Likewise.
+       (vect_mark_stmts_to_be_vectorized): Likewise.
+       (vect_do_peeling_for_loop_bound): First argument in call to
+       vect_update_ivs_after_vectorizer was changed from loop to loop_vinfo.
+       (vect_analyze_operations): Argument in call to vect_can_advance_ivs_p
+       was changed from loop to loop_vinfo.
+       (vect_analyze_data_ref_dependences): Third argument in call to
+       vect_analyze_data_ref_dependence was changed from loop to loop_vinfo.
+       
+       (vect_create_index_for_vector_ref): Get the loop from loop_vinfo.
+       (vect_create_data_ref_ptr): Likewise.
+       (vect_init_vector): Likewise.
+       (vect_get_vec_def_for_operand): Likewise.
+       (vectorizable_assignment): Likewise.
+       (vectorizable_operation): Likewise.
+       (vectorizable_store): Likewise.
+       (vectorizable_load): Likewise.
+       (vect_update_ivs_after_vectorizer): Likewise.
+       (vect_is_simple_use): Likewise.
+       (vect_analyze_data_ref_dependence): Likewise.
+       (vect_analyze_pointer_ref_access): Likewise.
+       (vect_can_advance_ivs_p): Likewise.
+
+       * tree-vectorizer.h: (_loop_vec_info): Definition and macros moved
+       before _stmt_vec_info.
+       (_stmt_vec_info): Loop field replaced by loop_vec_info.
+       (STMT_VINFO_LOOP): Replaced with STMT_VINFO_LOOP_VINFO.
+       (new_stmt_vec_info): Argument changed from loop structure to
+       loop_vect_info structure
+
+       (vect_analyze_data_ref_dependences): Unnecessary line was removed.
+       (vect_analyze_offset_expr): Avoid 80 columns overflow.
+       (vect_create_addr_base_for_vector_ref): Likewise.
+       (vect_analyze_pointer_ref_access): Likewise.
+
+2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/19768
+       * tree-ssa-dse.c (fix_phi_uses): Update the occurs in abnormal
+       phi flag if the phi is abnormal.
+
+2005-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/19736
+       * tree-ssa.c (replace_immediate_uses): Update the immediate_uses
+       information for the new statement.
+
+2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR driver/19117
+       * gcc.c (main): Include the target in -v output.
+
+2005-02-03  Alexandre Oliva  <aoliva@redhat.com>
+
+       * combine.c (simplify_comparison, case SIGN_EXTEND, ZERO_EXTEND):
+       Do not drop the extend if we'd have to add a paradoxical subreg
+       later.  Include optabs.h and insn-codes.h.
+       * Makefile.in (combine.o): Depend on $(OPTABS_H).
+
+2005-02-02  Roger Sayle  <roger@eyesopen.com>
+
+       PR middle-end/19405
+       * real.h (REAL_MODE_FORMAT_COMPOSITE_P): New macro.
+       * fold-const.c (const_binop): Avoid constant folding floating
+       point operations in modes that use composite representations.
+       * simplify-rtx.c (simplify_binary_operation): Likewise.
+
+2005-02-02  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/altivec.md (altivec_dst): Make the first operand
+       a REG, not a MEM.
+       (altivec_dstt): Likewise.
+       (altivec_dstst): Likewise.
+       (altivec_dststt): Likewise.
+       * config/rs6000/rs6000.c (altivec_expand_dst_builtin): Adjust creation
+       of first operand.
+
+2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Copy
+       EXPR_LOCUS from orig_cond to the new cond_stmt.
+       (vect_finish_stmt_generation): Copy EXPR_LOCUS from stmt to
+       the new vec_stmt.
+
+2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes): Call
+       standard_iv_increment_position. Remove call to bsi_next 
+       (no need to bump the iterator anymore).
+       (vect_create_index_for_vector_ref): Call
+       standard_iv_increment_position. Remove second function argument.
+       (vect_finish_stmt_generation): Remove call to bsi_next 
+       (no need to bump the iterator anymore).
+       (vect_create_data_ref_ptr): Remove second argument (bsi) in call
+       to vect_create_index_for_vector_ref.
+
+2005-02-03  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vectorizer.c (vect_mark_stmts_to_be_vectorized): Check if
+       phis are used out of the loop.
+
+2005-02-03  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR c/17807
+       * c-decl.c (undef_nested_function): New variable.
+       (pop_scope): Diagnose undefined nested functions.
+       (finish_function): Don't attempt cgraph processing or genericizing
+       if current top-level function contained an undefined nested
+       function.  Reset undef_nested_function at the end of a top-level
+       function.
+
+2005-02-02  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree.c (build_int_cst_type): Take sign of the value into account
+       when deciding whether sign extend the value.
+
+2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR c/18502
+       * gcc.c (cpp_unique_options): Remove %{trigraphs}.
+       (cpp_options, cc1_options): Change %{std*&ansi} to
+       %{std*&ansi&trigraphs}.
+
+2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c: Update comments.
+
+2005-02-02  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_spe_function_arg): Multi-reg
+       arguments go on the stack.  Do not put complex doubles in odd/even
+       pairs.
+
+2005-02-02  Steven Bosscher  <stevenb@suse.de>
+
+       * doc/invoke.texi: Update the options enabled at -O1, -O2,
+       and -O3.  Update the documentation for -fgcse-sm, -fgcse-las,
+       -ftree-pre, and -fthread-jumps.
+
+2005-02-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR tree-optimization/19578
+       * tree-flow.h (modified_noreturn_calls): Declare.
+       (noreturn_call_p): Declare.
+       * tree-flow-inline.h (noreturn_call_p): New function.
+       (modify_stmt): Add modified noreturn calls to modified_noreturn_calls.
+       * tree-cfg.c (modified_noreturn_calls): New variable.
+       (cleanup_control_flow): Use noreturn_call_p.  Split basic blocks
+       that contain a mid-block noreturn call.
+       * tree-ssa.c (delete_tree_ssa): Clear modified_noreturn_calls.
+
+2005-02-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * df.c (df_def_record_1, df_uses_record): Don't use
+       DF_FOR_REGALLOC.
+       * df.h (DF_FOR_REGALLOC): Remove.
+
+2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR c/19435
+       * c-typeck.c (really_start_incremental_init): Reset
+       constructor_max_index for arrays of incomplete type.
+
+2005-02-02  Jeff Law  <law@redhat.com>
+
+       * gcse.c (struct reg_set): Store the block index where the register
+       was set rather than the setting insn.
+       (record_one_set, compute_transp): Corresponding changes.
+       (pre_insert_copy_insn): Do not call replace_one_set.
+       (replace_one_set): Remove.
+
+2005-02-02  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR other/15514
+       * doc/gcov.texi: Fix typo.
+
+2005-02-01  Richard Henderson  <rth@redhat.com
+
+       PR target/19680
+       * config/i386/i386.h (MODES_TIEABLE_P): Use ix86_modes_tieable_p.
+       * config/i386/i386.c (ix86_hard_regno_mode_ok): Change return
+       type to bool.
+       (ix86_tieable_integer_mode_p, ix86_modes_tieable_p): New.
+       * config/i386/i386-protos.h: Update.
+
+2005-02-01  Steven Bosscher  <stevenb@suse.de>
+
+       PR tree-optimization/19217
+       * tree-cfg.c (verify_expr): Use the data field to see if TP was
+       seen inside a PHI node.  Do not do the ADDR_EXPR check if it was.
+       (verify_stmts): Pass (void*)1 as data to verify_expr to signal
+       that it is walking a PHI node.
+
+2005-02-01  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * doc/extend.texi (Nested Functions): Update.
+
+2005-02-01  Richard Henderson  <rth@redhat.com>
+
+       PR 19696
+       * optabs.c (expand_copysign_absneg): Export.
+       * optabs.h (expand_copysign_absneg): Declare.
+       * config/rs6000/rs6000.md (copysigntf3): New.
+
 2005-02-01  Diego Novillo  <dnovillo@redhat.com>
 
        PR tree-optimization/19633