OSDN Git Service

PR rtl-optimization/41917
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 721c69e..0da48a4 100644 (file)
@@ -1,5 +1,150 @@
+2009-11-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/41917
+       * rtlanal.c (num_sign_bit_copies1) <case UMOD>: If sign bit of second
+       operand isn't known to be 0, return 1.
+
+2009-11-03  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/mips/mips.md: Fix typos.
+
+2009-11-03  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * doc/invoke.texi: Fix typo.
+
+2009-11-03  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/neon.ml (vectype): Add T_floatSF.
+       (string_of_vectype): Ditto.
+       * config/arm/neon-gen.ml (signed_ctype): Add T_floatSF.
+       (deftypes): Use float for float32_t.
+       * config/arm/arm_neon.h: Regenerate.
+
+2009-11-03  Nick Clifton  <nickc@redhat.com>
+           Kevin Buettner  <kevinb@redhat.com>
+
+       * config/rx/predicates.md (rx_store_multiple_vector): Reverse
+       order of expected registers.
+       (rx_load_multiple_vector): Likewise.
+       (rx_rtsd_vector): Likewise.
+       * config/rx/rx.c (rx_cpu_type): New variable.
+       (rx_print_operand): Fix bug printing 64-bit constant values.
+       (rx_emit_stack_pushm): Reverse order of pushed registers.
+       (gen_rx_store_vector): Likewise.
+       (is_fast_interrupt_func): Only accept "fast_interrupt" as the
+       attribute name.
+       (is_exception_func): Rename to is_interrupt_func and only accept
+       "interrupt" as the attribute name.
+       (rx_get_stack_layout): Use new function name.
+       (rx_func_attr_inlinable): Likewise.
+       (rx_attribute_table): Remove "exception".
+       (rx_expand_prologue): If necessary push the accumulator register
+       in the prologue of interrupt functions.
+       (rx_expand_epilogue): If necessary pop the accumulator.
+       (rx_builtins): Add RX_BUILTIN_MVTIPL.
+       (rx_expand_builtin_stz): Remove.
+       (rx_expand_builtin_mvtipl): New function.
+       (rx_init_builtins): Handle RX_BUILTIN_MVTIPL.
+       (rx_expand_builtin): Likewise.
+       (rx_enable_fpu): New variable.
+       (rx_handle_option): Handle -fpu, -nofpu, -mcpu and -patch.
+       * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Assert machine based
+       on rx_cpu_type.  Define __RX_FPU_INSNS__ if FPU insns are allowed.
+       (enum rx_cpu_types): Define.
+       (ASM_SPEC): Pass -m32bit-doubles on to assembler.
+       (INCOMING_FRAME_SP_OFFSET): Define.
+       (ARG_POINTER_CFA_OFFSET): Define.
+       (FRAME_POINTER_CFA_OFFSET): Define.
+       (OVERRIDE_OPTIONS): Enable fast math if RX FPU insns are enabled.
+       (ALLOW_RX_FPU_INSNS): Define.
+       * config/rx/rx.md: Test ALLOW_RX_FPU_INSNS instead of
+       fast_math_flags_set_p.
+       (UNSPEC_BUILTIN_MVTIPL): Define.
+       (revl): Rename to bswapsi2.
+       (bswaphi2): New pattern.
+       (mvtachi): Mark as volatile because it uses a register unknown to GCC.
+       (mvtaclo): Likewise.
+       (racw): Likewise.
+       (mvtc): Remove clobber of cc0.
+       (mvtcp): Delete.
+       (opecp): Delete.
+       * config/rx/rx.opt (mieee): Remove.
+       (fpu): Add.
+       (nofpu): Add.
+       (mcpu=): Add.
+       (patch=): Add.
+       (msave-acc-in-interrupts): Add.
+       * config/rx/t-rx (MULTILIB_OPTIONS): Change default to 64bit doubles.
+       (MULTILIB_DIRS): Likewise.
+       (MULTILIB_MATCHES): Treat -fpu as an alias for -m32bit-doubles.
+       * doc/extend.texi: Remove description of "exception" function
+       attribute.
+       * doc/invoke.texi: Document -fpu, -nofpu, -mcpu=, -patch= and
+       -msave-acc-in-interrupts options.
+
+2009-11-03  Richard Guenther  <rguenther@suse.de>
+
+       * c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC.
+
+2009-11-03  Dodji Seketeli  <dodji@redhat.com>
+
+       PR c++/38699
+       * c-common.c (fold_offsetof_1): Issue errors when the member designator
+       of the offsetoff expression is not legitimate.
+
+2009-11-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*call_value_1_rex64_ms_sysv): Use register
+       names instead of numerical constants.
+       (sse_prologue_save): Ditto.
+       (*sse_prologue_save_insn): Ditto.
+
+2009-11-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/41900
+       * config/i386/i386.h (ix86_arch_indices) <X86_ARCH_CALL_ESP>: New.
+       (TARGET_CALL_ESP): New define.
+       * config/i386/i386.c (initial_ix86_tune_features): Initialize
+       X86_ARCH_CALL_ESP.
+       * config/i386/i386.md (*call_pop_1_esp, *call_1_esp,
+       *call_value_pop_1_esp, *call_value_1_esp): Rename from *call_pop_1,
+       *call_1, *call_value_pop_1 and *call_value_1.  Depend on
+       TARGET_CALL_ESP.
+       (*call_pop_1, *call_1, *call_value_pop_1, *call_value_1):
+       New patterns, use "lsm" as operand 1 constraint.
+       * config/i386/predicates.md (call_insn_operand): Depend on
+       index_register_operand for !TARGET_CALL_ESP to avoid %esp register.
+
+2009-11-02  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       PR tree-optimization/41857
+       * tree-flow.h (rewrite_use_address): Add BASE_HINT argument.
+       * tree-ssa-loop-ivopts.c (rewrite_use_address): Pass base hint
+       to create_mem_ref.
+       * tree-ssa-address.c (move_hint_to_base): New function.
+       (most_expensive_mult_to_index): Add TYPE argument.  Use mode and
+       address space associated with TYPE.
+       (addr_to_parts): Add TYPE and BASE_HINT arguments.  Pass TYPE to
+       most_expensive_mult_to_index.  Call move_hint_to_base.
+       (create_mem_ref): Add BASE_HINT argument.  Pass BASE_HINT and
+       TYPE to addr_to_parts.
+
+2009-11-02  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/41750
+       * tree-sra.c (analyze_modified_params): Loop over all
+       representatives of components of a parameter.
+
 2009-11-02  Jakub Jelinek  <jakub@redhat.com>
 
+       PR tree-optimization/41841
+       * ipa-struct-reorg.c (build_data_structure): Don't attempt to look at
+       local variables of not yet materialized clones.
+
+       PR debug/41893
+       * cfgexpand.c (expand_debug_expr): Don't attempt to create DECL_RTL
+       for a VOIDmode variable.
+
        PR c++/41774
        * c-pragma.c (visstack): Change into vector of ints rather than
        enum symbol_visibility.
 
        * config/mn10300/mn10300.c (mn10300_function_value): Make static, add
        new 'outgoing' argument.
-       (mn10300_libcall_value, mn10300_function_value_regno_p): New
-       functions.
+       (mn10300_libcall_value, mn10300_function_value_regno_p): New functions.
        (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
        * config/mn10300/mn10300.h: (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
        LIBCALL_VALUE): Remove.
        PR target/38018
        * doc/tm.texi (OVERRIDE_OPTIONS): Update.
        (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
-       * optc-gen.awk (cl_target_option_restore): Include call to 
+       * optc-gen.awk (cl_target_option_restore): Include call to
        targetm.override_options_after_change.
        * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New.
        * target.h (override_options_after_change): New.
 2009-10-29  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
        * config/arm/arm.c (find_best_start): Fix type of remainder to be
-       unsigned .
+       unsigned.
 
 2009-10-29  Martin Jambor  <mjambor@suse.cz>
 
 2009-10-28  Rafael Avila de Espindola  <espindola@google.com>
 
        * doc/invoke.texi: Rename -use-linker-plugin -fuse-linker-plugin.
-       
+
 2009-10-28  Rafael Avila de Espindola  <espindola@google.com>
 
        * dbxout.c (dbxout_common_check): Accept non public trees.