OSDN Git Service

PR middle-end/28071
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 86b2990..cda7596 100644 (file)
@@ -1,3 +1,195 @@
+2007-04-16  Maxim Kuvyrkov  <mkuvyrkov@ispras.ru>
+
+       PR middle-end/28071
+       * sched-int.h (struct deps): Split field 'pending_lists_length' into
+       'pending_read_list_length' and 'pending_write_list_length'.  Update
+       comment.
+       * sched-deps.c (add_insn_mem_dependence): Change signature.  Update
+       to handle two length counters instead of one.  Update all uses.
+       (flush_pending_lists, sched_analyze_1, init_deps): Update to handle
+       two length counters instead of one.
+       * sched-rgn.c (propagate_deps): Update to handle two length counters
+       instead of one.
+
+2007-04-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/31582
+       * config/i386/i386.c (ix86_expand_vec_set_builtin): Make a
+       copy of source, pass it to ix86_expand_vector_set and return
+       it as target.
+
+2007-04-16  David Ung  <davidu@mips.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mips/mips.h (PROCESSOR_74KC, PROCESSOR_74KF,
+       PROCESSOR_74KX, TUNE_74K, GENERATE_MADD_MSUB): Define.
+       * config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data):
+       Add 74K processor information.
+       * config/mips/mips.md: Include 74k.md.
+       (cpu): Add 74kc,74kf,74kx.
+       (ISA_HAS_MADD_MSUB): Change to GENERATE_MADD_MSUB throughout.
+       * config/mips/74k.md: New.
+       * doc/invoke.texi (MIPS Options): Document 74K support.
+
+2007-04-16  Dorit Nuzman  <dorit@il.ibm.com>
+
+       * tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to
+       vectorizable_* functions.
+       * tree-vect-transform.c (vectorizable_call): Add check for
+       STMT_VINFO_RELEVANT_P, STMT_VINFO_DEF_TYPE and STMT_VINFO_LIVE_P.
+       (vectorizable_store): likewise.
+       (vectorizable_conversion): Add check for STMT_VINFO_DEF_TYPE.
+       Add comments.
+       (vectorizable_operation, vectorizable_type_demotion): Likewise.
+       (vectorizable_type_promotion, vectorizable_load): Likewise.
+       (vectorizable_live_operation, vectorizable_condition): Likewise.
+       (vectorizable_assignment): Add check for STMT_VINFO_DEF_TYPE and
+       STMT_VINFO_LIVE_P.
+       (vect_transform_stmt): Reorganize calls to vectorizable_* functions.
+
+2007-04-15  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/m68k/linux.h (FUNCTION_VALUE_REGNO_P): Use macros for
+       register numbers more.
+       * config/m68k/m68k.h (STACK_POINTER_REGNUM,
+       FRAME_POINTER_REGNUM, STATIC_CHAIN_REGNUM,
+       M68K_STRUCT_VALUE_REGNUM, FUNCTION_VALUE, LIBCALL_VALUE,
+       FUNCTION_VALUE_REGNO_P): Likewise.
+       * config/m68k/m68kelf.h (M68K_STRUCT_VALUE_REGNUM,
+       STATIC_CHAIN_REGNUM): Likewise.
+       * config/m68k/m68kemb.h (FUNCTION_VALUE_REGNO_P): Likewise.
+       * config/m68k/netbsd-elf.h (M68K_STRUCT_VALUE_REGNUM,
+       STATIC_CHAIN_REGNUM, FUNCTION_VALUE_REGNO_P): Likewise.
+       * config/m68k/m68k.md (FP_REG): New.
+
+2007-04-15  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit
+       alignment on fido.
+
+2007-04-15  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/i386/i386.c, config/s390/s390.c, config/s390/s390.md,
+       tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix
+       comment typos.
+
+2007-04-11  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore
+       cold loops.
+
+2007-04-14  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR c/31520
+        * c-decl.c (finish_decl): Grab the type of the decl after the call
+       to store_init_value.
+
+2007-04-14  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * common.opt (fforward-propagate): Fix "Optimization" annotation.
+
+2007-04-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/25874
+       * omp-low.c (expand_omp_parallel): If child_cfun->cfg, free dominators,
+       post dominators and cleanup cfg before returning.
+
+2007-04-14  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied.
+       * config/bfin/bfin.md (movsi_insn): Delete two unused alternatives.
+
+2007-04-14  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config.gcc: Recognize fido.
+       * config/m68k/m68k-devices.def (fidoa): New.
+       * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define
+       __mfido__.
+       (FL_FIDOA, TARGET_FIDOA): New.
+       * config/m68k/m68k.opt (mfidoa): New.
+
+2007-04-13  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/31322
+       * dwarf2out.c (output_call_frame_info): Call assemble_external_libcall
+       when a personality function is used.
+
+2007-04-13  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN.
+
+2007-04-13  Mike Stump  <mrs@apple.com>
+
+       * config/darwin-c.c (handle_c_option): Handle -fapple-kext here so
+       we can...
+       * config/darwin.opt (fapple-kext): Make C++ only.
+       * config/darwin.c (darwin_override_options): Remove code to ensure
+       -fapple-kext is given for C++ only.
+
+2007-04-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
+       * config/mips/mips.c (override_options): Call
+       SUBTARGET_OVERRIDE_OPTIONS, if defined.
+
+2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.opt (msvr3-shlib): Removed.
+
+       * doc/invoke.texi: Remove -msvr3-shlib.
+
+2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.opt (mpopcnt): Replace "popcount" instruction
+       with "popcnt" instruction.
+
+2007-04-13  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/21258
+       * tree-vrp.c (compare_case_labels): New helper.
+       (find_switch_asserts): New function.
+       (find_assert_locations): Call it for SWITCH_EXPRs.
+
+2007-04-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387.
+       * config/i386/i386.md (*cmpfp0): Remove check for TARGET_80387, this
+       check is now implied in X87_FLOAT_MODE_P.
+       (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto.
+       (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto.
+       (fix_trunc<mode>_i386_fisttp): Ditto.
+       (fix_trunc<mode>_i387_fisttp_with_temp): Ditto.
+       (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto.
+       (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto.
+       (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto.
+       (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto.
+       (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto.
+       (unnamed_splitters): Ditto.
+       * config/i386/i386.c (function_value_32): Generate FIRST_FLOAT_REG
+       for X87_FLOAT_MODE_P mode.  Override FIRST_FLOAT_REG with
+       FIRST_SSE_REG for local functions when SSE math is enabled or
+       for functions with sseregparm attribute.
+       (standard_80387_constant_p): Return -1 if mode is not
+       X87_FLOAT_MODE_P.
+       (ix86_cc_mode): Assert that scalar mode is not DECIMAL_FLOAT_MODE_P.
+       (ix86_expand_compare): Ditto.
+       (ix86_expand_carry_flag_compare): Ditto.
+       (ix86_expand_int_movcc): Check for SCALAR_FLOAT_MODE_P instead
+       of FLOAT_MODE_P for cmp_mode and assert that cmp_mode is not
+       DECIMAL_FLOAT_MODE_P.
+       (ix86_preferred_output_reload_class): Use X87_FLOAT_MODE_P instead
+       of SCALAR_FLOAT_MODE_P.
+       (ix86_rtx_costs) [PLUS] Remove FLOAT_MODE_P and fall through to ...
+       [MINUS]: ... here.  Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P
+       checks before FLOAT_MODE_P.
+       [MULT]: Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks
+       before FLOAT_MODE_P.
+       [DIV]: Ditto.
+       [NEG]: Ditto.
+       [ABS]: Ditto.
+       [SQRT]: Ditto.
+       [FLOAT_EXTEND]: Use SSE_FLOAT_MODE_P.
+
 2007-04-12  Paolo Bonzini  <bonzini@gnu.org>
             Charles Wilson  <libtool@cwilson.fastmail.fm>