aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-032015-06-03 Hale Wang <hale.wang@arm.com>ARM/embedded-4_9-branchHale Wang
Backport from mainline r222306 2015-04-22 Hale Wang <hale.wang@arm.com> Terry Guo <terry.guo@arm.com> PR rtl-optimization/64818 * combine.c (can_combine_p): Don't combine user-specified register if it is in an asm input. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_9-branch@224057 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-29Sync with upstream 4.9 branchThomas Preud'homme
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_9-branch@223857 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-29Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223854 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28 PR libstdc++/65352Jonathan Wakely
* include/profile/array (array::data): Use __array_traits::_S_ptr. * include/debug/array (array::data): Likewise. * include/std/array (__array_traits::_S_ptr): New function. (array::data): Use _S_ptr to avoid creating invalid reference. * testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc: likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223842 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28Backport from mainlineJonathan Wakely
2015-01-20 Jonathan Wakely <jwakely@redhat.com> * testsuite/29_atomics/atomic/64658.cc: Test stored value. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223841 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28Backport from mainlineJonathan Wakely
2014-12-22 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/37522 * include/bits/basic_string.h (stod, stof, stoi, stol, stold, stoll, stoul, stoull, to_string): Only use _GLIBCXX_HAVE_BROKEN_VSWPRINTF to guard definition of to_wstring. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223840 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28nios2-linux: add missing cpp specsMike Frysinger
Define CPP_SPEC for nios2 linux targets so that -posix & -pthread work like on all other linux targets. Discovered via Gentoo bug https://bugs.gentoo.org/543114 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223828 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28microblaze-linux: add missing cpp specsMike Frysinger
Define CPP_SPEC for microblaze linux targets so that -posix & -pthread work like on all other linux targets. Discovered via Gentoo bug https://bugs.gentoo.org/543114 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223827 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28hppa-linux: add missing cpp specsMike Frysinger
Define CPP_SPEC for parisc linux targets so that -posix & -pthread work like on all other linux targets. Discovered via Gentoo bug https://bugs.gentoo.org/543114 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223826 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28 PR target/66148John David Anglin
* config/pa/pa.c (pa_emit_move_sequence): Correct placement of REG_EQUAL note when doing insert. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223793 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-28Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223786 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-27Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223727 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-26Backported from mainlineRohit Arul Raj
2015-05-14 Rohit Arul Raj <rohitarulraj@freescale.com> * varasm.c (output_constant_pool_1): Pass down alignment from constant pool entry's descriptor to output_constant_pool_2. (output_object_block): Add comment prior to call to output_constant_pool_1. * gcc.target/powerpc/pr60158.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223714 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-26Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223659 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-25Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223638 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-24Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223616 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-23Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223601 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-22 PR target/66224David Edelsohn
* config/cpu/powerpc/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER): Don't use isync. Use lwsync if available. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223564 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-22Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223510 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-212015-05-21 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore
Backport from mainline r223418: gcc/ * config.gcc [powerpc*-*-linux*]: Allow --enable-targets=all to build a biarch toolchain again. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223503 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-21Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223466 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-20Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223420 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-19S/390: invoke.texi: Add missing cpu types for march option: z196 and zEC12.Andreas Krebbel
gcc/ * doc/invoke.texi: Add missing cpu types for march option: z196 and zEC12. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223358 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-19Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223328 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-18Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223278 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-17 PR target/66140Uros Bizjak
* config/alpha/alpha.c (get_aligned_mem): Also look for reload replacements in memory addresses. (get_unaligned_address): Ditto. testsuite/ChangeLog: PR target/66140 * gcc.target/alpha/pr66140.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223266 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-17Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223263 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-16Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223228 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-15Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223206 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-14[ARM] Fix PR 65955: Do not take REGNO on non-REG operand in movcond_addsiKyrylo Tkachov
Backport from mainline 2015-05-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com> PR target/65955 * config/arm/arm.md (movcond_addsi): Check that operands[2] is a REG before taking its REGNO. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223195 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-14Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223187 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-13Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223103 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-12S/390: Adjust zEC12 schedulingAndreas Krebbel
* config/s390/2827.md: Split zEC12_simple into zEC12_simple_int and zEC12_simple_fp. * config/s390/s390.c (s390_issue_rate): Set issue rate for zEC12 to 1. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223058 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-122015-05-12 Yvan Roux <yvan.roux@linaro.org>Yvan Roux
Backport from mainline. 2015-05-05 Yvan Roux <yvan.roux@linaro.org> * config/aarch64/aarch64-elf-raw.h (CA53_ERR_843419_SPEC): Define. (LINK_SPEC): Include CA53_ERR_843419_SPEC. * config/aarch64/aarch64-linux.h (CA53_ERR_843419_SPEC): Define. (LINK_SPEC): Include CA53_ERR_843419_SPEC. * config/aarch64/aarch64.opt (mfix-cortex-a53-843419): New option. * configure: Regenerate. * configure.ac: Add --enable-fix-cortex-a53-843419 option. * doc/install.texi (aarch64*-*-*): Document new --enable-fix-cortex-a53-843419 option. * doc/invoke.texi (AArch64 Options): Document -mfix-cortex-a53-843419 and -mno-fix-cortex-a53-843419 options. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223046 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-12Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223028 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-11Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222987 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-10Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222972 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-09Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222929 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-08Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222899 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-07[PATCH][libstc++v3]Add new dg-require-thread-fence directive.Renlin Li
libstdc++-v3/ 2015-05-07 Renlin Li <renlin.li@arm.com> Backported from mainline 2015-04-22 Renlin Li <renlin.li@arm.com> * testsuite/lib/dg-options.exp (dg-require-thread-fence): New. * testsuite/lib/libstdc++.exp (check_v3_target_thread_fence): New. * testsuite/29_atomics/atomic_flag/clear/1.cc: Use it. * testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Likewise. * testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222876 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-07Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222867 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-06 PR target/65990Uros Bizjak
* config/i386/i386.c (ix86_parse_stringop_strategy_string): Error out if rep_8byte stringop strategy was specified for 32-bit target. testsuite/ChangeLog: PR target/65990 * gcc.target/i386/pr65990.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222859 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-06 * g++.dg/cpp1y/auto-fn26.C (dg-do): Use c++1y target.Uros Bizjak
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222844 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-062015-05-05 Jack Howarth <howarth.at.gcc@gmail.com>Mike Stump
Backport from mainline 2014-05-29 Mike Stump <mikestump@comcast.net> PR debug/61352 * collect2.c (maybe_run_lto_and_relink): Be sure to always run post ld passes when lto is used. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222835 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-06Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222832 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-05 PR go/66016Ian Lance Taylor
runtime: Don't crash in Func.Name if the Func is nil. Related to Go issue 10696 git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222815 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-05 Backported from mainlineFei Yang
2015-01-19 Jiong Wang <jiong.wang@arm.com> Andrew Pinski <apinski@cavium.com> PR target/64304 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted. (ashl<mode>3): Don't expand if operands[2] is not constant. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222812 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-05gcc/Peter Bergner
Backport from mainline. 2015-04-27 Peter Bergner <bergner@vnet.ibm.com> PR target/64579 * config/rs6000/htm.md: Remove all define_expands. (UNSPECV_HTM_TABORTDC, UNSPECV_HTM_TABORTDCI, UNSPECV_HTM_TABORTWC, UNSPECV_HTM_TABORTWCI): Remove. (UNSPECV_HTM_TABORTXC, UNSPECV_HTM_TABORTXCI, UNSPECV_HTM_TTEST): New. (tabort_internal, tbegin_internal, tcheck_internal, tend_internal, trechkpt_internal, treclaim_internal, tsr_internal): Rename from this... (tabort, tbegin, tcheck, tend, trechkpt, treclaim, tsr): ...to this. (tabortdc_internal, tabortdci_internal, tabortwc_internal, tabortwci_internal): Remove define_insns. (tabort<wd>c, tabort<wd>ci): New define_insns. (tabort): Use gpc_reg_operand. (tcheck): Remove operand. (htm_mfspr_<mode>, htm_mtspr_<mode>): Use GPR mode macro. * config/rs6000/htmxlintrin.h (__TM_end): Use _HTM_TRANSACTIONAL as expected value. * config/rs6000/rs6000-builtin.def (BU_HTM_SPR0): Remove. (BU_HTM_SPR1): Rename to BU_HTM_V1. Remove use of RS6000_BTC_SPR. (tabort, tabortdc, tabortdci, tabortwc, tabortwci, tbegin, tcheck, tend, tendall, trechkpt, treclaim, tresume, tsuspend, tsr, ttest): Pass in the RS6000_BTC_CR attribute. (get_tfhar, set_tfhar, get_tfiar, set_tfiar, get_texasr, set_texasr, get_texasru, set_texasru): Pass in the RS6000_BTC_SPR attribute. (tcheck): Remove builtin argument. * config/rs6000/rs6000.c (rs6000_htm_spr_icode): Use TARGET_POWERPC64 not TARGET_64BIT. (htm_expand_builtin): Fix usage of expandedp. Disallow usage of the tabortdc and tabortdci builtins when not in 64-bit mode. Modify code to handle the loss of the HTM define_expands. Emit code to copy the CR register to TARGET. (htm_init_builtins): Modify code to handle the loss of the HTM define_expands. * config/rs6000/rs6000.h (RS6000_BTC_32BIT): Delete. (RS6000_BTC_64BIT): Likewise. (RS6000_BTC_CR): New macro. * doc/extend.texi: Update documentation for htm builtins. gcc/testsuite/ Backport from mainline. 2015-04-27 Peter Bergner <bergner@vnet.ibm.com> PR target/64579 * gcc.target/powerpc/htm-1.c: New test. * gcc.target/powerpc/htm-builtin-1.c (__builtin_tabortdc): Only test on 64-bit compiles. (__builtin_tabortdci): Likewise. (__builtin_tcheck): Remove operand. * lib/target-supports.exp (check_htm_hw_available): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222808 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-05Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222786 138bc75d-0d04-0410-961f-82ee72b054a4
2015-05-04Daily bump.GCC Administrator
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222755 138bc75d-0d04-0410-961f-82ee72b054a4