OSDN Git Service

Add a stub header file "feedback.h," needed to compile glibc and
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4c7e818..bba2a40 100644 (file)
@@ -1,3 +1,308 @@
+2012-08-16  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2012-08-16  Walter Lee  <walt@tilera.com>
+
+       * config.gcc (tilegx-*-linux*): Add feedback.h.
+       (tilepro-*-linux*): Likewise.
+       * config/tilegx/feedback.h: New file.
+       * config/tilepro/feedback.h: New file.
+
+2012-08-08 Pavel Chupin <pavel.v.chupin@intel.com>
+
+       Backport from mainline r189840 and r187586:
+       2012-07-25 Sergey Melnikov <sergey.melnikov@intel.com>
+
+       * config/i386/i386.md (stack_protect_set): Disable the pattern
+       for Android since Android libc (bionic) does not provide random
+       value for stack protection guard at gs:0x14. Guard value
+       will be provided from external symbol (default implementation).
+       (stack_protect_set_<mode>): Likewise.
+       (stack_protect_test): Likewise.
+       (stack_protect_test_<mode>): Likewise.
+       * gcc/defaults.h: Define macro TARGET_HAS_BIONIC to 0 - target does
+       not have Bionic by default
+       * config/linux.h: Redefine macro TARGET_HAS_BIONIC to (OPTION_BIONIC)
+       Macro OPTION_BIONIC is defined in this file and provides Bionic
+       accessibility status
+
+       2012-05-16  Igor Zamyatin  <igor.zamyatin@intel.com>
+
+       * configure.ac: Stack protector enabling for Android targets.
+       * configure: Regenerate.
+
+2012-08-13  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from trunk
+       2012-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/53942
+       * function.c (assign_parm_setup_reg): Avoid zero/sign extension
+       directly from likely spilled non-fixed hard registers, move them
+       to pseudo first.
+
+2012-08-11  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (xop_phaddbq):  Fix vec_select selectors.
+       (xop_phaddubq): Ditto.
+
+2012-08-10  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       Backport from mainline
+       2012-07-30  Ulrich Weigand  <ulrich.weigand@linaro.org>
+                   Richard Earnshaw  <rearnsha@arm.com>
+
+       * target.def (vector_alignment): New target hook.
+       * doc/tm.texi.in (TARGET_VECTOR_ALIGNMENT): Document new hook.
+       * doc/tm.texi: Regenerate.
+       * targhooks.c (default_vector_alignment): New function.
+       * targhooks.h (default_vector_alignment): Add prototype.
+       * stor-layout.c (layout_type): Use targetm.vector_alignment.
+       * config/arm/arm.c (arm_vector_alignment): New function.
+       (TARGET_VECTOR_ALIGNMENT): Define.
+
+       * tree-vect-data-refs.c (vect_update_misalignment_for_peel): Use
+       vector type alignment instead of size.
+       * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Use
+       element type size directly instead of computing it from alignment.
+       Fix variable naming and comment.
+
+2012-08-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-08-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (alpha_pad_noreturn): Rename to ...
+       (alpha_pad_function_end): ... this.  Also insert NOP between
+       sibling call and GP load.
+       (alpha_reorg): Update call to alpha_pad_function_end.  Expand comment.
+
+2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Backport from mainline
+       2012-08-08  Richard Sandiford  <rdsandiford@googlemail.com>
+                   H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR rtl-optimization/54157
+       * combine.c (gen_lowpart_for_combine): Don't return identity
+       for CONST or symbolic reference.
+
+2012-08-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386-protos.h (ix86_lea_outperforms): Remove prototype.
+       * config/i386/i386.c (ix86_lea_outperforms): Make static.  Make
+       split_cost argument signed.
+       (ix86_use_lea_for_mov): Use INVALID_REGNUM instead of -1.
+       (ix86_avoid_lea_for_addr): Ditto.
+
+       2012-07-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false if
+       the address has less than two components.
+
+2012-08-02  Steve Ellcey  <sellcey@mips.com>
+
+       Backport from mainline
+       2012-07-19  Steve Ellcey  <sellcey@mips.com>
+
+       * config/mips/mips.c (mips_set_mips16_mode): Clear SYNCI_MASK in
+       MIPS16 mode.
+
+2012-08-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53961
+       * config/i386/i386.c (ix86_legitimate_address_p): Move check for
+       negative constant address for TARGET_X32 ...
+       (ix86_decompose_address): ... here.  Reject constant addresses
+       that don't satisfy x86_64_immediate_operand predicate.
+
+       2012-07-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53961
+       * config/i386/i386.md (*lea): Add asserts to detect invalid addresses.
+       * config/i386/i386.c (ix86_print_operand_address): Ditto.
+       (ix86_decompose_address): Allow (zero_extend:DI (subreg:SI (...)))
+       addresses.  Prevent zero extensions of CONST_INT operands.
+
+       2012-07-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53961
+       * config/i386/i386.md (*lea): New insn pattern.
+       (*lea_1): Remove.
+       (*lea<mode>_2): Ditto.
+       (*lea_{3,4,5,6}_zext): Ditto.
+       * config/i386/predicates.md (lea_address_operand): Do not reject
+       zero-extended address operands.
+       * config/i386/constraints.md (j): Remove address constraint.
+       * config/i386/i386.c (ix86_decompose_address): Allow SImode subreg
+       of an address.
+       (ix86_print_operand_address): Handle SImode subreg of an address.
+       (ix86_avoid_lea_for_addr): Reject zero-extended addresses for now.
+
+2012-08-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-03-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/52530
+       * config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier.
+       (ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback
+       to set code to 'q'.
+       * config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec.
+       (*movdi_internal_rex64): Use %E operand modifier for lea.
+       (*movsi_internal): Ditto.
+       (*lea_1): Ditto.
+       (*lea<mode>_2): Ditto.
+       (*lea_{3,4,5,6}_zext): Ditto.
+       (*tls_global_dynamic_32_gnu): Ditto.
+       (*tls_global_dynamic_64): Ditto.
+       (*tls_dynamic_gnu2_lea_32): Ditto.
+       (*tls_dynamic_gnu2_lea_64): Ditto.
+       (pro_epilogue_adjust_stack_<mode>_add): Ditto.
+
+2012-08-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-08-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_address_subreg_operand): Reject
+       stack pointer.
+       (ix86_print_operand_address): Assert that parts.base and parts.index
+       are non-NULL after call to simplify_subreg.
+
+2012-07-22  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       PR target/33135
+       * config/sh/sh.opt (mieee): Use Var instead of Mask.  Correct
+       description.
+       * config/sh/sh.c (sh_option_override): Do not change
+       flag_finite_math_only.  Set TARGET_IEEE to complement of
+       flag_finite_math_only.
+       * doc/invoke.texi (SH options): Add mno-ieee.  Correct
+       description of mieee and mno-ieee behavior.
+
+2012-07-20  Kirill Yukhin  <kirill.yukhin@intel.com>
+
+       PR target/53877
+       * config/i386/lzcntintrin.h (_lzcnt_u32): New.
+       (_lzcnt_u64): Ditto.
+
+2012-07-20  Andrey Belevantsev  <abel@ispras.ru>
+
+       Backport from mainline
+       2012-03-06  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/52250
+       * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb
+       to put note list into.  Unconditionally call move_bb_info.
+       (move_bb_info): Do not assert the blocks being in the same region,
+       just drop the note list if they are not.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/sparc/sparc.md (adddi3_insn_sp32): Add earlyclobber.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-forwprop.c (combine_conversions): Punt if the RHS of the
+       defining statement is a SSA name that occurs in abnormal PHIs.
+
+2012-07-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gimple-fold.c (canonicalize_constructor_val): Strip only useless type
+       conversions.
+
+2012-07-19  Richard Guenther  <rguenther@suse.de>
+           Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-ssa-ccp.c (valid_lattice_transition): Clarify comment
+       about transition from invariant to known bits.
+       (likely_value): Addresses with UNDEFINED components are UNDEFINED.
+
+2012-07-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/54017
+       * tree-cfgcleanup.c (cleanup_omp_return): Remove.
+       (cleanup_tree_cfg_bb): Don't call it.
+       * omp-low.c (expand_omp_sections): Fix up the !exit_reachable case
+       handling.
+
+2012-07-19  Christian Bruel  <christian.bruel@st.com>
+
+       PR target/54029
+       * config/sh/sh.c (gen_far_branch): Set JUMP_LABEL for return jumps.
+
+2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>
+
+       * config.gcc (v850-*-rtems*): New target.
+       * config/v850/rtems.h: New.
+       * config/v850/t-rtems: New.
+
+2012-07-18  Nick Clifton  <nickc@redhat.com>
+
+       * doc/invoke.texi (ARM Options): Document -munaligned-access.
+
+2012-07-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53961
+
+       Backport from mainline
+       2012-04-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/53110
+       * config/i386/i386.md (and<mode>3): For andq $0xffffffff, reg
+       instead expand it as zero extension.
+
+2012-07-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (QImode and HImode cmove splitters): Merge
+       QImode and HImode splitters.  Use ix86_comparison_operator.
+       Explicitly match FLAGS_REG.
+       (DFmode cmove splitter): Explicitly match FLAGS_REG.
+
+2012-07-13  Richard Sandiford  <rdsandiford@googlemail.com>
+           Steven Bosscher  <steven@gcc.gnu.org>
+           Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR rtl-optimization/53908
+       * df-problems.c (can_move_insns_across): When doing
+       memory-reference book-keeping, handle call insns.
+
+2012-07-10  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-07-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53811
+       * config/i386/i386.c (x86_output_mi_thunk): Check if fnaddr satisfies
+       sibcall_insn_operand.  Move it to a temporary register if not.
+
+       2012-07-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53853
+       * config/i386/i386.c (x86_output_mi_thunk): For CM_LARGE_PIC model,
+       emit PIC sequence for fnaddr symbol reference in advance.
+
+2012-07-09  Jason Merrill  <jason@redhat.com>
+
+       PR c++/53882
+       * tree.c (type_contains_placeholder_1): Handle NULLPTR_TYPE.
+       (type_hash_eq): Likewise.
+
+       PR c++/53826
+       * tree.c (build_zero_cst): Handle NULLPTR_TYPE.
+
+2012-07-07  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * combine.c (force_to_mode) [LSHIFTRT]: Avoid undefined behaviour
+       due to negative shift amount.
+
 2012-07-06  Kai Tietz  <ktietz@redhat.com>
 
        Backport from mainline.
        2012-03-30  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/52786
-       * double-int.c (rshift_double): Remove not needed
-       cast.
+       * double-int.c (rshift_double): Remove not needed cast.
 
        2012-03-28  Richard Guenther  <rguenther@suse.de>
 
 2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        * configure: Regenerate.
+
        Backport from mainline.
-        2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+       2012-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
        * config.gcc (target_type_format_char): New. Document it. Set it for
        arm*-*-* .
        * configure.ac (gnu_unique_option): Use target_type_format_char
 2012-06-29  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
 
        Backport from mainline.
-        2012-05-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+       2012-05-30  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
        * config/arm/arm.c (arm_evpc_neon_vrev): Adjust off by one error.
 
 2012-06-28  Georg-Johann Lay  <avr@gjlay.de>