OSDN Git Service

* version.c (version_string): Update to 4.1.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index eb1a9be..3f3b478 100644 (file)
@@ -1,6 +1,373 @@
+2005-02-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * version.c (version_string): Update to 4.1.
+
+2005-02-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
+       Clarify that the alternative way doesn't work in GNU C++.
+
+2005-02-25  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-dom.c (simple_iv_increment_p): New function.
+       (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
+       Do not propagate value of iv before increment over the increment.
+
+2005-02-25  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/19937
+       * tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
+       to the type of the induction variable.
+
+2005-02-25  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR rtl-optimization/20117
+       * bb-reorder.c (duplicate_computed_gotos): Don't duplicate
+       the block including noncopyable insn.
+
+2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c (delete_trivially_dead_insns): Speed up by minimizing
+       calls to find_reg_note.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR tree-opt/20127
+       * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
+       the type.
+
+2005-02-24  Fariborz Jahanian <fjahanian@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
+       vector types if to use base reg for misaligned non-word ld/std.
+
+2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/14619
+       * config/cris/cris.c (cris_target_asm_function_prologue): Create
+       dwarf2 label manually and put it after, not before the prologue.
+
+2005-02-24  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/19019
+       * reload.c (operands_match_p): Only increment register number for
+       SCALAR_INT_MODE_P modes in multiple hard registers.
+
+       * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
+       Fix formatting.
+
+2005-02-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * ChangeLog.5: Fix log message typo(s).
+       * ChangeLog.7: Likewise.
+       * ChangeLog.tree-ssa: Likewise.
+       * cfgexpand.c: Fix comment typo(s).
+       * conflict.c: Likewise.
+       * defaults.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * gcse.c: Likewise.
+       * ggc-page.c: Likewise.
+       * tree-eh.c: Likewise.
+       * tree-ssa-dom.c: Likewise.
+
+2005-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/19019
+       * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
+       * config/rs6000/darwin-ldouble.c: Only use the .symver directives
+       if SHARED is defined.
+
+       PR target/20196
+       * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
+       allow splitting only if operands 0 and 3 don't overlap.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/19953
+       * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
+       (fold_builtin_1): Call them.
+       * fold-const.c (fold_complex_mult_parts): Split out from ...
+       (fold_complex_mult): ... here.  Fix typo in both imaginary case.
+       (fold_complex_div_parts, fold_complex_div): New.
+       (fold): Use them.
+       * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
+
+2005-02-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-ssa-ccp.c (visit_assignment): Verify that result of
+       VIEW_CONVERT_EXPR is_gimple_min_invariant.
+
+       * print-tree.c (print_node_brief): Print LABEL_DECL_UID.
+       (print_node): Likewise.
+       Print TYPE_SIZES_GIMPLIFIED.
+
+2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
+       ("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
+       operands as commutative in constraints.
+
+2005-02-24  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-into-ssa.c: Re-organize internal functions.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/18902
+       * c-opts.c (c_common_post_options): Set flag_complex_method to 2
+       for c99.
+       * common.opt (fcx-limited-range): New.
+       * opts.c (set_fast_math_flags): Set flag_cx_limited_range.
+       * toplev.c (flag_complex_method): Initialize to 1.
+       (process_options): Set flag_complex_method to 0 if
+       flag_cx_limited_range.
+       * doc/invoke.texi (-fcx-limited-range): New.
+
+2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c (delete_trivially_dead_insns): Speed up by using
+       NEXT_INSN and PREV_INSN directly instead of next_real_insn and
+       prev_real_insn.
+
+2005-02-24  Andrea Tarani  <andrea.tarani@gilbarco.com>
+
+       * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
+       functions when -mid-shared-library is being used.
+
+2005-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
+       (LINK_LIBGCC_SPECIAL_1): Don't mention it.
+       * gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
+       * system.h: Poison LINK_LIBGCC_SPECIAL.
+
+2005-02-23  James E Wilson  <wilson@specifixinc.com>
+
+       * gengtype.c (note_insn_name): Make 1 element larger.
+
+2005-02-23  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/20018
+       PR rtl-optimization/20097
+       * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
+       BImode SUBREGs of SImode registers which confuse the ia64 backend.
+
+2005-02-23  David Edelsohn  <edelsohn@gnu.org>
+
+       * t-aix43 (SHLIB_INSTALL): Create directory for shared library.
+       * t-aix52 (SHLIB_INSTALL): Same.
+
+2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genpreds.c: Update copyright.
+
+2005-02-23  Michael Beach  <michaelb@ieee.org>
+
+       PR target/20159
+       * config/sparc/t-elf (startup files): Assemble with CPP.
+
+2005-02-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.
+       (write_predicate_expr): Likewise.
+
+2005-02-22  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/20100
+       PR tree-optimization/20115
+       * tree-optimize.c (init_tree_optimization_passes): Remove
+       pass_maybe_create_global_var.
+       * tree-pass.h (pass_maybe_create_global_var): Remove.
+       * tree-ssa-alias.c (aliases_computed_p): Declare.
+       (struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND.
+       (count_calls_and_maybe_create_global_var): Remove.
+       (pass_maybe_create_global_var): Remove.
+       (init_alias_info): Do not declare aliases_computed_p.
+       (maybe_create_global_var): If the function contains no
+       call-clobbered variables and a mix of pure/const and regular
+       function calls, create .GLOBAL_VAR.
+       Mark all call-clobbered variables for renaming.
+       (merge_pointed_to_info): Update comment.
+       (add_pointed_to_var): Likewise.
+       (is_escape_site): Likewise.
+       Accept struct alias_info * instead of size_t *.
+       Update all users.
+       Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND
+       as necessary.
+       * tree-ssa-operands.c (get_call_expr_operands): If
+       ALIASES_COMPUTED_P is false, do not add call-clobbering
+       operands.
+       * tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false.
+       (delete_tree_ssa): Likewise.
+
+2005-02-22  James E Wilson  <wilson@specifixinc.com>
+
+       * toplev.c (backend_init): Don't call init_adjust_machine_modes here.
+       (do_compile): Do call it here.
+
+2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR rtl-optimization/20017.
+       * passes.c (rest_of_handle_combine, rest_of_handle_cse,
+       rest_of_handle_cse2, rest_of_handle_gcse): Call
+       delete_dead_jumptables immediately before calling cleanup_cfg.
+
+2005-02-22  Devang Patel  <dpatel@apple.com>
+
+       PR 19952
+       * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip 
+       all labels
+       
+2005-02-22  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/aix.h (WINT_TYPE): Define.
+
+2005-02-22  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Default to
+       natural alignment for 64-bit Darwin.
+       (rs6000_parse_alignment_option): Warn about uses of -malign-power
+       on 64-bit Darwin.
+       * doc/invoke.texi: Document this.
+
+2005-02-22  DJ Delorie  <dj@redhat.com>
+
+       * c-common.c (c_common_type_for_mode): Pass the mode's precision
+       to make_[un]signed_type, not the mode itself.
+
+2005-02-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfg.c (cached_make_edge): Call make_edge if edge cache is
+       not available.  Use tail calls wherever possible.
+       (make_edge): Call unchecked_make_edge to create an edge.
+
+       * tree-outof-ssa.c (SSANORM_USE_COALESCE_LIST): Remove.
+       (coalesce_ssa_name): Don't check for
+       SSANORM_USE_COALESCE_LIST.
+       (rewrite_out_of_ssa): Don't use SSANORM_USE_COALESCE_LIST.
+
+2005-02-22  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-into-ssa.c (rewrite_blocks): Move debug dumps from ...
+       (rewrite_into_ssa): ... here.
+
+2005-02-21  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR tree-optimization/19786
+       * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add one
+       tag to another's may-alias bitmap when adding to the other's list.
+
+2005-02-21  DJ Delorie  <dj@redhat.com>
+
+       * tree-ssa-loop-ivopts.c (computation_cost): Start register
+       numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
+       registers in unsupported ways.
+       * expmed.c (init_expmed): Likewise.
+       
+2005-02-21  Stan Cox  <scox@redhat.com>
+
+       * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.
+
+2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (fold_cond_expr_cond): New.
+       (make_edges): Call fold_cond_expr_cond.
+       (find_taken_edge): Accept nothing but INTEGER_CST.
+       (find_taken_edge_cond_expr): Reject INTEGER_CST other than 0
+       and 1.
+       (find_taken_edge_switch_expr): Remove a check for INTEGER_CST.
+
+       * flow.c (delete_dead_jumptables): Speed up by scanning insns
+       that do not belong to any basic block.
+
+2005-02-21  Jeff Law  <law@redhat.com>
+
+       * cfganal.c (find_unreachable_blocks): Manually CSE load of
+       e->dest.
+
+2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
+       (SSANORM_COALESCE_PARTITIONS, SSANORM_USE_COALESCE_LIST):
+       Adjust their definitions.
+       (remove_ssa_form): Don't check for SSANORM_REMOVE_ALL_PHIS.
+       (rewrite_out_of_ssa): Don't use SSANORM_REMOVE_ALL_PHIS.
+
+       * c-objc-common.h, c-pretty-print.c, cgraphunit.c, except.c,
+       genautomata.c, langhooks.c, langhooks.h, system.h,
+       config/arm/lib1funcs.asm: Update copyright.
+
+2005-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dbxout.c (dbxout_function_end): Emit Lscope label always.
+
+2005-02-21  Richard Guenther  <rguenth@gcc.gnu.org>
+
+       PR bootstrap/13770
+       * doc/install.texi: Document --with-gc.
+
+2005-02-21  Paolo Bonzini  <bonzini@gnu.org>
+
+       * simplify-rtx.c (simplify_unary_operation): Add a missing
+       "break" statement.
+
+2005-02-21  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR tree-optimization/18663
+       * tree-ssa-dom.c (extract_range_from_cond): Return 0
+       if the type has variable bounds.
+
+2005-02-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * gcse.c: Remove an obsolete comment.
+
+       * cse.c (init_cse_reg_info): Use xmalloc instead of xrealloc.
+
+2005-02-20  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/extend.texi (Function Attributes) <Attribute const>: The
+       attribute "pure" is below this text, not above.
+
+2005-02-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa.c (pa_assemble_integer, get_plabel): Small cleanups.
+       (pa_asm_output_mi_thunk): Use asm_output_insn instead of fprintf.
+       * som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Small cleanup.
+
+2005-02-20  Zack Weinberg  <zack@codesourcery.com>
+
+       PR 18785
+       * langhooks.h (struct lang_hooks): Add to_target_charset.
+       * langhooks.c (lhd_to_target_charset): New function.
+       * langhooks-def.h: Declare lhd_to_target_charset.
+       (LANG_HOOKS_TO_TARGET_CHARSET): New macro.
+       (LANG_HOOKS_INITIALIZER): Update.
+       * c-common.c (c_common_to_target_charset): New function.
+       * c-common.h: Declare it.
+       * c-objc-common.h (LANG_HOOKS_TO_TARGET_CHARSET): Set to
+       c_common_to_target_charset.
+
+       * defaults.c (TARGET_BELL, TARGET_BS, TARGET_CR, TARGET_DIGIT0)
+       (TARGET_ESC, TARGET_FF, TARGET_NEWLINE, TARGET_TAB, TARGET_VT):
+       Delete definitions.
+       * system.h: Poison them.
+       * doc/tm.texi: Don't discuss them.
+       * builtins.c (fold_builtin_isdigit): Use lang_hooks.to_target_charset.
+       * c-pretty-print.c (pp_c_integer_constant): Don't use pp_c_char.
+       (pp_c_char): Do not attempt to generate letter escapes for
+       newline, tab, etc.
+       * config/arm/arm.c (output_ascii_pseudo_op): Likewise.
+       * config/mips/mips.c (mips_output_ascii): Likewise.
+
+2005-02-20  Dorit Naishlos  <dorit@il.ibm.com>
+
+       PR tree-optimization/19951
+       * tree-vect-analyze.c (vect_analyze_loop_form): Check if loop exit edge
+       is abnormal.
+
 2005-02-19  Steven Bosscher  <stevenb@suse.de>
 
-       PR middle-end/19698 
+       PR middle-end/19698
        * function.h (struct function): New field `max_loop_depth'.
        * cfgloop.c (establish_preds): Update maximum loop depth seen so far.
        (flow_loops_find): Reset the max loop depth count before finding loops.