OSDN Git Service

PR rtl-optimization/20466
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index f7e7cd3..73ec69f 100644 (file)
@@ -1,3 +1,293 @@
+2005-04-09  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR rtl-optimization/20466
+       * flow.c (invalidate_mems_from_set): Handle a MEM by checking it
+       for overlap of the address of each list member.
+       (mark_set_1): Call invalidate_mems_from_set for MEMs too.
+
+2005-04-08  Mike Stump  <mrs@apple.com>
+
+       * config/darwin.c (indirect_data): Fix typo in strncmp logic.
+
+2005-04-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Remove.
+
+       * function.c (push_function_context_to): Don't set
+       contains_functions.
+       * function.h (function): Remove contains_functions.
+       (current_function_contains_functions): Remove.
+
+       * function.h (function): Remove instrument_entry_exit.
+       (current_function_instrument_entry_exit): Remove.
+
+       * function.h (nonlocal_labels): Remove.
+
+       * tree.h (STRIP_MAIN_TYPE_NOPS): Remove.
+
+       * genattrtab.c (attr_desc): Remove negative_ok and unsigned_p.
+       (check_attr_value, write_attr_get, write_expr_attr_cache,
+       find_attr, make_internal_attr): Don't reference negative_ok or
+       unsigned_p.
+       * genattrtab.h (ATTR_NEGATIVE_OK, ATTR_UNSIGNED,
+       ATTR_FUNC_UNITS, ATTR_BLOCKAGE): Remove.
+       (ATTR_STATIC): Adjust the value.
+
+       * c-common.h (C_ARTIFICIAL_STRING_P): Remove.
+
+2005-04-08  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/tpf.h (ASM_SPEC): Define.
+
+2005-04-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-flow.h: Remove the prototype for
+       redirect_immediate_uses.
+       (TDFA_USE_OPS, TDFA_USE_VOPS): Remove.
+
+2005-04-08  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.c (arm_const_double_by_parts): New function.
+       * arm-protos.h (arm_const_double_by_parts): Add prototype.
+       * arm.md (define_split for 64-bit constants): Add another one.
+
+2005-04-08  Andrew MacLeod  <amacleod@redhat.com>
+
+       * tree-ssa-operands.c (correct_use_link): Remove linear scan.
+
+2005-04-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h: Revert last change.
+
+2005-04-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/xtensa/xtensa.h (target_flags, MASK_NO_FUSED_MADD)
+       (MASK_CONST16, TARGET_NO_FUSED_MADD, TARGET_CONST16)
+       (TARGET_SWITCHES): Delete.
+       * config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Define.
+       * config/xtensa/xtensa.md (muladdsf3, mulsubsf3): Check
+       TARGET_FUSED_MADD instead of !TARGET_NO_FUSED_MADD.
+       * config/xtensa/xtensa.opt: New file.
+
+2005-04-08  Ben Elliston  <bje@au.ibm.com>
+
+       * config/fp-bit.c: Include L_mul_tf in #endif comment.
+       * config/fp-bit.h: Tidy comments.
+
+2005-04-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h: Poison PARAMS.
+
+2005-04-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/vax/vax.h (target_flags, MASK_UNIX_ASM, MASK_VAXC_ALIGNMENT)
+       (MASK_G_FLOAT, TARGET_UNIX_ASM, TARGET_VAXC_ALIGNMENT, TARGET_G_FLOAT)
+       (TARGET_SWITCHES): Delete.
+       * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Override default.
+       * config/vax/vax.opt: New file.
+
+2005-04-07  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-dse.c (dse_optimize_stmt): Fix incorrect comment.
+
+2005-04-07  Ian Lance Taylor  <ian@airs.com>
+
+       * config/iq2000/iq2000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Don't
+       define.
+       * config/mips/mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
+       * config/sparc/sparc.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE):
+       Likewise.
+
+2005-04-07  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-sink.c (nearest_common_dominator_of_uses): Consider
+       all immediate uses in PHI nodes.
+
+2005-04-07  Richard Earnshaw  <richard.earnshaw@arm.com>
+
+       * arm.c (arm_const_double_inline_cost): Handle any constant by
+       using gen_lowpart and gen_highpart_mode.
+       (note_invalid_constants): All constants in an RTX with a constraint
+       that permits memory are now pushed to the constant pool.
+       (output_move_double): Delete code to handle reg to reg and 
+       constant to reg moves.
+       (const_double_needs_minipool, output_mov_immediate): Delete.
+       * arm.h (EXTRA_CONSTRAINT_STR_ARM): All 'D' variants now handle
+       CONST_INT and CONST_VECTOR.
+       * arm.md (ANY64): New mode macro.
+       (arm_movdi): Split reg-reg and const-reg moves.  Simplify constraints.
+       (movdf_soft_insn): Split reg-reg and const-reg moves.
+       (split patterns for 64-bit constant and register moves): New.
+       * cirrus.md (cirrus_arm_movdi): Split reg-reg and const-reg moves.
+       (cirrus_movdf_hard_insn): Likewise.
+       * fpa.md (movdf_fpa): Likewise.
+       * iwmmxt.md (iwmmxt_arm_movdi): Likewise.
+       (movv8qi_internal, movv4hi_internal, movv2si_internal): Fix
+       constraints.
+       (movv2si_internal_2): Likewise.
+       * vfp.md (arm_movdi_vfp): Split reg-reg and const-reg moves.
+       (movdf_vfp): Likewise.
+       * arm-protos.h (output_mov_immediate): Delete prototype.
+
+2005-04-07  Joseph S. Myers  <joseph@codesourcery.com>
+
+       PR target/20093
+       * simplify-rtx.c (simplify_unary_operation_1): Check
+       SUBREG_PROMOTED_UNSIGNED_P (op) > 0 for zero-extension.
+
+2005-04-06  James E Wilson  <wilson@specifixinc.com>
+
+       PR target/20717
+       * cgraphunit.c (record_call_1, case FDESC_EXPR): Handle same as
+       ADDR_EXPR.
+
+2004-04-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * coverage.h (GCOV_TYPE_NODE): Delete.
+       * coverage.c (coverage_counter_alloc, tree_coverage_counter_ref)
+       (build_ctr_info_type): Use get_gcov_type () instead of GCOV_TYPE_NODE.
+       * tree-profile.c (tree_gen_edge_profiler, tree_gen_interval_profiler)
+       (tree_gen_pow2_profiler, tree_gen_one_value_profiler): Likewise.
+       * value-prof.c (tree_divmod_fixed_value_transform): Delete.
+
+2004-04-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       PR other/20792
+       * Makefile.in (gcc.pot): Remove options.c dependency.
+       * optc-gen.awk: Don't quote help strings with N_().
+
+2005-04-06  James A. Morrison  <phython@gcc.gnu.org>
+
+       * c-common.c (handle_malloc_atttribute): Only set DECL_IS_MALLOC if
+       the function returns a pointer type.
+
+2005-04-06  Daniel Berlin  <dberlin@dberlin.org>
+
+       * params.def (PARAM_SALIAS_MAX_IMPLICIT_FIELDS): New
+       * params.h (SALIAS_MAX_IMPLICIT_FIELDS): New
+       * doc/invoke.texi: Documnet salias-max-implicit-fields.
+       * tree-ssa-alias.c (struct used_part): Add implicit_uses and
+       explicit_uses members.
+       (get_or_create_used_part_for): Initialize new fields.
+       (fieldoff_compare): New function.
+       (create_overlap_variables_for): Count number of fields, use
+       heuristic to determine whether to create subvars for vars with
+       only implicit uses.
+       Sort the field list by offset and avoid creating duplicate SFT's.
+
+2005-04-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * c.opt (-F): Remove trailing whitespace from help string.
+       (-finput-charset): Use a tab to separate the switch name and help
+       string.
+       * common.opt (-fsched-stalled-insns, -fsched-stalled-insns-dep)
+       (-ftree-vectorizer-verbose): Likewise.
+
+2005-04-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-ssa-sink.c (nearest_common_dominator_of_uses): Look at
+       a PHI argument where a use occurs instead of all PHI arguments.
+
+2005-04-06  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-decl.c (finish_decl): Apply pending #pragma weak regardless of
+       scope.
+
+2005-04-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c, tree-flow-inline.h, tree-flow.h, tree-ssa-operands.c,
+       tree-ssa-sink.c, tree.h, config/bfin/bfin.c,
+       config/bfin/bfin.h: Fix comment typos.
+
+2005-04-06  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * doc/install.texi: Update the URL for Jacks.
+       * doc/sourcebuild.texi: Likewise.
+
+2005-04-06  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/17245
+       * config/sparc/sparc.c (legitimate_address_p): Remove 'imm2'.
+       Revert 2004-10-08 patch.  Reject TFmode LO_SUM in 32-bit mode.
+
+2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in (LIBGCC2_CFLAGS): Revert -pipe change.
+
+2005-04-06  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/v850/v850-protos.h (override_options): Delete.
+       * config/v850/v850.h (target_flags, MASK_GHS, MASK_LONG_CALLS, MASK_EP)
+       (MASK_PROLOG_FUNCTION, MASK_DEBUG, MASK_V850, MASK_V850E)
+       (MASK_SMALL_SLD, MASK_BIG_SWITCH, MASK_NO_APP_REGS, MASK_DISABLE_CALLT)
+       (MASK_STRICT_ALIGN, MASK_US_BIT_SET, MASK_US_MASK_SET, TARGET_GHS)
+       (TARGET_LONG_CALLS, TARGET_EP, TARGET_PROLOG_FUNCTION, TARGET_V850)
+       (TARGET_BIG_SWITCH, TARGET_DEBUG, TARGET_V850E, TARGET_US_BIT_SET)
+       (TARGET_SMALL_SLD, TARGET_DISABLE_CALLT, TARGET_NO_APP_REGS)
+       (TARGET_STRICT_ALIGN, TARGET_SWITCHES, TARGET_OPTIONS)
+       (OVERRIDE_OPTIONS): Delete.
+       (MASK_CPU): Redefine as MASK_V850 | MASK_V850E.
+       (small_memory_info): Remove the value field.
+       (CONDITIONAL_REGISTER_USAGE): Check !TARGET_APP_REGS rather than
+       TARGET_NO_APP_REGS.
+       * config/v850/v850.c (small_memory): Remove the value field.
+       (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
+       (override_options): Delete.
+       (v850_handle_memory_option, v850_handle_option): New functions.
+       * config/v850/v850.opt: New file.
+
+2005-04-06  Geoffrey Keating  <geoffk@apple.com>
+
+       * config.host: Add a section for generic hosts, and a subsection
+       for Darwin.  Add a case for x86-darwin.  Update ppc-darwin case.
+       * config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
+       * config/host-darwin.h: New.
+       * config/x-darwin: New.
+       * config/i386/host-i386-darwin.c: New.
+       * config/i386/x-darwin: New.
+       * config/rs6000/host-darwin.c: Include host-darwin.h.
+       (darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
+       (darwin_rs6000_gt_pch_use_address): Likewise.
+       * config/rs6000/x-darwin: Change name of .o built, update
+       dependencies for changes to rs6000/host-darwin.c.
+
+2005-04-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       PR target/17824
+       * config/c4x/c4x.h (ASM_PROG, LD_PROG): Remove.
+
+2005-04-06  Dorit Naishlos  <dorit@il.ibm.com>
+
+       * tree-vect-analyze.c (vect_analyze_loop_form): Call
+       split_loop_exit_edge instead of loop_split_edge_with. 
+
+2005-04-06  Paolo Bonzini  <bonzini@gnu.org>
+
+       * config/rs6000/altivec.md (UNSPEC_VSLW, UNSPEC_SUBS,
+       UNSPEC_SET_VSCR): New constants, used throughout.
+       (*andc3_v4sf): New.
+       (altivec_vspltisb, altivec_vsplitish, altivec_vsplitisw):
+       Replace with...
+       (altivec_vspltis<VI_char>): ... this pattern, using
+       a QImode const_int_operand for the immediate.
+       (abs<mode>2, absv4sf2, altivec_abss_<mode>): Rewrite as
+       define_expands.
+
+2005-04-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       PR target/17822
+       * config/avr/t-avr (AR_FOR_TARGET,RANLIB_FOR_TARGET): Remove.
+
+2005-04-06  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in (LIBGCC2_CFLAGS): Compile with -pipe.
+
+2005-04-06  Ben Elliston  <bje@au.ibm.com>
+
+       * gcc.c: Correct comment about DEFAULT_SWITCH_TAKES_ARG and
+       DEFAULT_WORD_SWITCH_TAKES_ARG which incorrectly reported these
+       macros as living in "this file" and not gcc.h.
+
 2005-04-06  Ben Elliston  <bje@au.ibm.com>
 
        * doc/invoke.texi (Optimize Options): Mention -ftree-lrs, not