Age | Commit message (Collapse) | Author |
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_9-branch@223857 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223854 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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-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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223786 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223727 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223659 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223638 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223616 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223601 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223510 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223466 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223420 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223328 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223278 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223263 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223228 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223206 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223187 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223103 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@223028 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222987 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222972 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222929 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222899 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222867 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* 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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222844 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222832 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
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-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
|
|
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
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222786 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@222755 138bc75d-0d04-0410-961f-82ee72b054a4
|