OSDN Git Service

PR other/22202
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2d50993..e916d52 100644 (file)
@@ -1,3 +1,184 @@
+2005-10-08  Steven Bosscher  <stevenb@suse.de>
+
+       PR other/22202
+       * params.def (PARAM_MAX_VARIABLE_EXPANSIONS): Remove superfluous
+       spaces.
+       (PARAM_SMS_DFA_HISTORY): Likewise.
+
+2005-10-08  Kazu Hirata  <kazu@codesourcery.com>
+
+       PR middle-end/23150
+       * calls.c (mem_overlaps_already_clobbered_arg_p): New.
+       (load_register_parameters): Call it.
+       (check_sibcall_argument_overlap_1): Likewise.
+       (store_one_arg): Likewise.
+
+2005-10-07  James E. Wilson  <wilson@specifix.com>
+
+       * config/ia64/vect.md (ashl<mode>3, ashr<mode>3, lshr<mode>3): Use
+       DImode not VECINT24 for operand 2.
+
+       PR target/23644
+       * doc/invoke.texi (IA-64 Options, item -mtune): Renamed from
+       -mtune-arch.
+
+       PR target/24193
+       * config/ia64/ia64.md (movbi, movti_internal, gr_spill_internal,
+       fr_spill): Use destination_operand for operand 0.
+
+2005-10-07  DJ Delorie  <dj@redhat.com>
+
+       * varasm.c (output_constant): Limit error to expanding
+       conversions.
+
+2005-10-07  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/24227
+       * fold-const.c (fold_binary): Fix operand types during folding
+       of X op (A, Y).  Evaluation order of the side-effects of
+       X and A are frontend-defined, so ensure we honour that even for
+       tcc_comparison class operands; eased by removing duplicate code.
+
+2005-10-07  Steve Ellcey  <sje@cup.hp.com>
+
+       * stor-layout.c (layout_type): Do not allow alignment of array
+       elements to be greater than their size.
+
+2005-10-07  Steve Ellcey  <sje@cup.hp.com>
+
+       * config.host (hppa*-*-hpux*): Change out_host_hook_obj and
+       host_xmake_file.
+       (hppa*-*-linux*): Ditto.
+       (ia64-*-hpux*): Add out_host_hook_obj and host_xmake_file.
+       * config/host-hpux.c: New.
+       * config/x-hpux: New.
+       * config/pa/x-hpux: Remove.
+       * config/pa/x-linux: Remove.
+       * config/pa/pa-host.c: Remove.
+
+2005-10-07  Jeff Law  <law@redhat.com>
+
+       * tree-ssa-dom.c (dom_opt_finalize_block): Fix conditions to
+       determine whether or not to try and thread outgoing edges.
+
+2005-10-07  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (eqsi_power): New.
+       (neg_eq0si): Add TARGET_POWER to final condition.
+       (neg_eqsi): Same.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/rs6000.c: Revert last change.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): New.
+       (TARGET_CANNOT_FORCE_CONST_MEM): Use it.
+
+2005-10-06  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/22216
+       PR middle-end/23651
+       * cfgexpand.c (tree_expand_cfg): After expanding the functions, clear
+       out return_label and naked_return_label.
+
+2005-10-06  Daniel Berlin  <dberlin@dberlin.org>
+       
+       * tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
+        change.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       PR tree-opt/22237
+       * tree-inline.c (declare_return_variable): Handle modify_dest not
+       being a DECL.
+
+2005-10-06  Daniel Berlin  <dberlin@dberlin.org>
+       
+       Fix PR tree-optimization/22488
+       * tree-ssa-structalias.c (check_for_overlaps): New function.
+       (create_variable_info_for): Use it.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       PR debug/24070
+       * dwarf2out.c (lookup_filename): Return the result of maybe_emit_file.
+       (dwarf2out_start_source_file): Print it.
+
+2005-10-06  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/t-slibgcc-darwin (SHLIB_MAPFILES): Use '+='.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       PR 23706
+       * mode-switching.c (optimize_mode_switching): Clear transp bit
+       for block with incomming abnormal edges.
+
+       * config/sh/sh.c (fpscr_values, emit_fpu_switch): New.
+       (fpscr_set_from_mem): Use them.
+       * config/sh/sh.md (fpu_switch0, fpu_switch1): Remove.
+       (fpscr postinc splitters): Rewrite as peephole2+split.
+
+2005-10-06  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (eq<mode>): Add !TARGET_POWER.
+       (eq<mode>_compare): Same.
+
+2005-10-06  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/24238
+       * tree-ssa-alias.c (find_used_portions): Handle RESULT_DECL.
+
+2005-10-06  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * acinclude.m4 (gcc_AC_CHECK_TOOL): Handle environment variables
+       here.  Use AC_PATH_PROG for environment variables instead of
+       test -x.
+       * configure.ac: Update calls to gcc_AC_CHECK_TOOL.  Use it for
+       objdump also.
+       * configure: Regenerated.
+
+2005-10-06  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       PR target/23783
+       * arm.md (call): If the address isn't a SYMBOL_REF or a register,
+       then force it into a register.
+       (call_value): Likewise.
+
+2005-10-06  Richard Henderson  <rth@redhat.com>
+
+       PR 24049
+       * passes.c (init_optimization_passes): Move pass_lower_vector_ssa
+       under pass_vectorize.  Clear TODO_ggc_collect from the dce pass
+       under pass_vectorize.
+
+2005-10-05  Devang Patel  <dpatel@apple.com>
+
+       PR Debug/23205
+       * dbxout.c (dbxout_symbol): Check DECL_RTL_SET_P, after
+       handling constants. Check NAMESPACE_DECL context for constants.
+       
+2005-10-05  Eric Christopher  <echristo@apple.com>
+
+       * doc/md.texi (Standard Names): Fix name of pushm1 pattern.
+
+2005-10-05  Richard Henderson  <rth@redhat.com>
+
+       PR 23714
+       * tree-cfg.c (mark_array_ref_addressable_1): New.
+       (mark_array_ref_addressable): New.
+       * tree-flow.h (mark_array_ref_addressable): Declare.
+       * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Use it.
+
+2005-10-05  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR middle-end/20606
+       PR middle-end/24069
+       * reload.c (subst_reloads): When adding a REG_LABEL to a
+       jump instruction, also update JUMP_LABEL.
+
 2005-10-05  David Edelsohn  <edelsohn@gnu.org>
 
        * params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
        opbuild_num_elems, opbuild_append_real, opbuild_append_virtual,
        opbuild_first, opbuild_next, opbuild_elem_real, opbuild_elem_virtual,
        opbuild_elem_uid, opbuild_clear, opbuild_remove_elem): Delete.
-       (get_name_decl): New.  Return DECL_UID of base variable. 
+       (get_name_decl): New.  Return DECL_UID of base variable.
        (operand_build_cmp): New.  qsort comparison routine.
        (operand_build_sort_virtual): New.  Sort virtual build vector.
        (init_ssa_operands, fini_ssa_operands): Use VEC routines.
        (FINALIZE_BASE): Use get_name_decl.
        (finalize_ssa_defs, finalize_ssa_uses, cleanup_v_may_defs,
        finalize_ssa_v_may_defs, finalize_ssa_vuses, finalize_ssa_v_must_defs,
-       (start_ssa_stmt_operands, append_def, append_use, append_vuse, 
-       append_v_may_def, append_v_must_def): Replace opbuild_* routines with 
+       (start_ssa_stmt_operands, append_def, append_use, append_vuse,
+       append_v_may_def, append_v_must_def): Replace opbuild_* routines with
        direct VEC_* manipulations.
        (build_ssa_operands): Call operand_build_sort_virtual.
        (copy_virtual_operand, create_ssa_artficial_load_stmt,
-       add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines 
+       add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines
        with direct VEC_* manipulations.
        * tree-ssa-opfinalize.h (FINALIZE_FUNC): Replace opbuild_* routines
        with direct VEC manipulations.
 
        * c-common.c (vector_types_convertible_p): Check TYPE_PRECISION for
        real types.
-       
+
 2005-10-04  Steve Ellcey  <sje@cup.hp.com>
 
        * tree-vect-transform.c (vect_create_epilog_for_reduction):
 
 2005-09-30  Richard Earnshaw  <richard.earnshaw@arm.com>
 
-       * arm.md (movqi): On thumb when optimizing, handle loading from 
+       * arm.md (movqi): On thumb when optimizing, handle loading from
        memory by describing this as taking a subreg of a zero-extended load
        into an SImode register.
        (movhi): Likewise.
        wrapup_global_declaration_2 call returned true, restart the loop.
 
 2005-09-29  Daniel Berlin  <dberlin@dberlin.org>
-       
+
        Fix PR tree-optimization/24117
        * tree-ssa-structalias.c (find_func_aliases): Strip nops
        before considering whether to use anyoffset.
        PR tree-optimization/23625
        * tree-flow-inline.h (bsi_after_labels): Remove, first statement is
        LABEL_EXPR, assertion check.
-       
+
 2005-09-27  J"orn Rennecke <joern.rennecke@st.com>
 
        * optabs.c (no_conflict_move_test): Check if a result of a
        (t_bool): New enum.
        (follow_ssa_edge, follow_ssa_edge_in_rhs,
        follow_ssa_edge_in_condition_phi_branch,
-       follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi): 
+       follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi):
        Change return type to t_bool.  Use a parameter to limit the size of
-       trees that are walked before stopping 
+       trees that are walked before stopping
        (analyze_evolution_in_loop): Initialize the limit to 0.
-       (follow_ssa_edge): Give up by returning t_dont_know if the limit 
+       (follow_ssa_edge): Give up by returning t_dont_know if the limit
        exceeds PARAM_SCEV_MAX_EXPR_SIZE.
 
 2005-09-26  Uros Bizjak  <uros@kss-loka.si>
        estimate_only  is true.
        * tree-flow.h (ref_contains_indirect_ref): New prototype.
        * tree-flow-inline.h (ref_contains_indirect_ref): Moved from
-       tree-ssa-structalias.c 
+       tree-ssa-structalias.c
        * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Use
        ref_contains_indirect_ref.
        * tree-ssa-structalias.c (ref_contains_indirect_ref): Moved.
        * tree.h (swap_tree_operands): Declare.
        * tree-vectorizer.c (vect_is_simple_reduction): Remove ATTRIBUTE_UNUSED.
        Call swap_tree_operands.
-       
+
 2005-09-19  Richard Henderson  <rth@redhat.com>
 
        * tree-flow.h (merge_alias_info): Declare.
 
        * except.c (struct eh_status): Turn region_array into vec.
        (expand_resx_expr, collect_eh_region_array, remove_unreachable_regions,
-       convert_from_eh_region_ranges, find_exception_handler_labels, 
-       current_function_has_exception_handlers, assign_filter_values, 
+       convert_from_eh_region_ranges, find_exception_handler_labels,
+       current_function_has_exception_handlers, assign_filter_values,
        build_post_landing_pads, dw2_build_landing_pads,
        sjlj_find_directly_reachable_regions, sjlj_mark_call_sites,
        sjlj_emit_dispatch_table, remove_eh_handler, for_each_eh_region,
        * tree-data-ref.h (estimate_iters_using_array): Prototype
        * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
        Use estimate_iters_using_array instead of analyze_array.
-       
+
 2005-09-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        * tree-nested.c (get_frame_type): Mark the "non-local frame structure"
 
 2005-09-12  Andrew Pinski  <pinskia@physics.uc.edu>
 
-       * tree-ssa-dse.c (dse_optimize_stmt): Fix up all of V_MAY_DEF and 
+       * tree-ssa-dse.c (dse_optimize_stmt): Fix up all of V_MAY_DEF and
        V_MUST_DEF instead of just the first_use_p.
-       Don't mark the virtual variables for renaming on the statement which 
+       Don't mark the virtual variables for renaming on the statement which
        is being removed.
        (pass_dse): Remove TODO_update_ssa.
 
 
 2005-09-09  Sebastian Pop  <pop@cri.ensmp.fr>
 
-       * tree-chrec.c (evolution_function_is_invariant_rec_p): Use 
+       * tree-chrec.c (evolution_function_is_invariant_rec_p): Use
        CHREC_LEFT and CHREC_RIGHT for accessing chrec components instead
        of wrongly accessing operands.
 
        * config/s390/s390.c (s390_sr_alias_set): Variable removed.
        (override_options): Setting s390_sr_alias_set removed.
        (save_fpr, save_gprs): Set alias set to vararg or frame.
-       (restore_fpr, restore_gprs, s390_emit_prologue): Replace 
+       (restore_fpr, restore_gprs, s390_emit_prologue): Replace
        s390_sr_alias_set with get_frame_alias_set ().
        (s390_gimplify_va_arg): Replace s390_sr_alias_set with
        get_varargs_alias_set ().
 2005-09-07  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * reload1.c (fixup_eh_region_note): Remove assertion.
-       (fixup_abnormal_edges): Reverted removal of call to 
+       (fixup_abnormal_edges): Reverted removal of call to
        find_many_sub_basic_blocks made on 2005-08-31.
 
 2005-09-07  Richard Henderson  <rth@redhat.com>
 
 2005-09-06  Saurabh Verma  <saurabh.verma@codito.com>
 
-       * simplify-rtx.c (simplify_binary_operation_1): Correct the 
+       * simplify-rtx.c (simplify_binary_operation_1): Correct the
        condition for detecting cases like (a&a) and (a^a).
 
 2005-09-06  Keith Besaw  <kbesaw@us.ibm.com>
 
 2005-09-06  Andreas Krebbel  <krebbel1@de.ibm.com>
 
-       * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for 
+       * gcse.c (try_replace_reg): Disallow REG_EQUAL notes for
        STRICT_LOW_PART SETs.
 
 2005-09-06  Alan Modra  <amodra@bigpond.net.au>
 
 2005-08-31  Fariborz Jahanian <fjahanian@apple.com>
 
-       * expr.c (expand_expr_real_1): Compare size of address 
-       mode to target's address mode size in deciding expansion of 
+       * expr.c (expand_expr_real_1): Compare size of address
+       mode to target's address mode size in deciding expansion of
        the constant address.
 
 2005-08-31  Richard Guenther  <rguenther@suse.de>
 2005-08-23  Sebastian Pop  <pop@cri.ensmp.fr>
 
        PR tree-optimization/23511
-       * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't 
+       * tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't
        handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE.
 
 2005-08-23  Jakub Jelinek  <jakub@redhat.com>
        to use scalar_initial_def here. Create an epilog adjustment only if
        scalar_initial_def is not NULL.
 
-       (vectorizable_reduction): Remove assert. 
+       (vectorizable_reduction): Remove assert.
 
 2005-08-20  H.J. Lu  <hongjiu.lu@intel.com>