]>
git.ipfire.org Git - thirdparty/gcc.git/log
GCC Administrator [Fri, 19 Dec 2014 11:41:01 +0000 (11:41 +0000)]
Mark ChangeLog
From-SVN: r218905
GCC Administrator [Fri, 19 Dec 2014 11:40:57 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218904
GCC Administrator [Fri, 19 Dec 2014 11:40:52 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218903
GCC Administrator [Fri, 19 Dec 2014 11:40:48 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218902
GCC Administrator [Fri, 19 Dec 2014 11:40:44 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218901
GCC Administrator [Fri, 19 Dec 2014 11:40:40 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218900
GCC Administrator [Fri, 19 Dec 2014 11:40:36 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218899
GCC Administrator [Fri, 19 Dec 2014 11:40:31 +0000 (11:40 +0000)]
Mark ChangeLog
From-SVN: r218898
GCC Administrator [Fri, 19 Dec 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218881
Francois-Xavier Coudert [Thu, 18 Dec 2014 20:12:44 +0000 (20:12 +0000)]
re PR target/61407 (Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3)
PR target/61407
* config/darwin-c.c (version_as_macro): Added extra 0 for OS X 10.10
and above.
* config/darwin-driver.c (darwin_find_version_from_kernel): Removed
kernel version check to avoid incrementing it after every major OS X
release.
(darwin_default_min_version): Avoid static memory buffer.
* gcc.dg/darwin-minversion-1.c: Fixed formatting
* gcc.dg/darwin-minversion-2.c: Fixed formatting
* gcc.dg/darwin-minversion-3.c: Fixed formatting
* gcc.dg/darwin-minversion-4.c: Added test for OS X 10.10
From-SVN: r218873
GCC Administrator [Thu, 18 Dec 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218851
GCC Administrator [Wed, 17 Dec 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218803
GCC Administrator [Tue, 16 Dec 2014 00:16:17 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218770
Jakub Jelinek [Mon, 15 Dec 2014 10:36:16 +0000 (11:36 +0100)]
re PR middle-end/58624 (gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash)
PR middle-end/58624
Backported from mainline
2014-03-07 Jason Merrill <jason@redhat.com>
* g++.dg/plugin/plugin.exp (DEFAULT_CXXFLAGS): Remove -ansi.
From-SVN: r218739
Jakub Jelinek [Mon, 15 Dec 2014 09:50:11 +0000 (10:50 +0100)]
re PR sanitizer/64265 (r217669 broke tsan)
PR sanitizer/64265
* tsan.c (instrument_func_entry): Insert __tsan_func_entry
call on edge from entry block to single succ instead
of after labels of single succ of entry block.
From-SVN: r218736
GCC Administrator [Mon, 15 Dec 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218723
GCC Administrator [Sun, 14 Dec 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218712
David Edelsohn [Sat, 13 Dec 2014 17:47:30 +0000 (17:47 +0000)]
backport: inclhack.def (aix_assert): New fix.
Backport
2013-09-02 David Edelsohn <dje.gcc@gmail.com>
* inclhack.def (aix_assert): New fix.
* fixincl.x: Regenerate.
* tests/base/assert.h [AIX_ASSERT_CHECK]: New check.
From-SVN: r218708
Jakub Jelinek [Sat, 13 Dec 2014 08:57:05 +0000 (09:57 +0100)]
backport: re PR tree-optimization/64269 (ICE with -O3 enabled on Ubuntu 14.04)
Backported from mainline
2014-12-12 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/64269
* tree-ssa-forwprop.c (simplify_builtin_call): Bail out if
len2 or diff are too large.
* gcc.c-torture/compile/pr64269.c: New test.
From-SVN: r218704
GCC Administrator [Sat, 13 Dec 2014 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218695
GCC Administrator [Fri, 12 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218649
Eric Botcazou [Thu, 11 Dec 2014 22:39:34 +0000 (22:39 +0000)]
* doc/md.texi (Insn Lengths): Fix description of (pc).
From-SVN: r218644
GCC Administrator [Thu, 11 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218614
Bill Schmidt [Wed, 10 Dec 2014 23:18:31 +0000 (23:18 +0000)]
backport: rs6000-builtin.def (XVCVSXDDP_SCALE): New built-in definition.
[gcc]
2014-12-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2014-09-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/rs6000-builtin.def (XVCVSXDDP_SCALE): New
built-in definition.
(XVCVUXDDP_SCALE): Likewise.
(XVCVDPSXDS_SCALE): Likewise.
(XVCVDPUXDS_SCALE): Likewise.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
entries for VSX_BUILTIN_XVCVSXDDP_SCALE,
VSX_BUILTIN_XVCVUXDDP_SCALE, VSX_BUILTIN_XVCVDPSXDS_SCALE, and
VSX_BUILTIN_XVCVDPUXDS_SCALE.
* config/rs6000/rs6000-protos.h (rs6000_scale_v2df): New
prototype.
* config/rs6000/rs6000.c (real.h): New include.
(rs6000_scale_v2df): New function.
* config/rs6000/vsx.md (UNSPEC_VSX_XVCVSXDDP): New unspec.
(UNSPEC_VSX_XVCVUXDDP): Likewise.
(UNSPEC_VSX_XVCVDPSXDS): Likewise.
(UNSPEC_VSX_XVCVDPUXDS): Likewise.
(vsx_xvcvsxddp_scale): New define_expand.
(vsx_xvcvsxddp): New define_insn.
(vsx_xvcvuxddp_scale): New define_expand.
(vsx_xvcvuxddp): New define_insn.
(vsx_xvcvdpsxds_scale): New define_expand.
(vsx_xvcvdpsxds): New define_insn.
(vsx_xvcvdpuxds_scale): New define_expand.
(vsx_xvcvdpuxds): New define_insn.
* doc/extend.texi (vec_ctf): Add new prototypes.
(vec_cts): Likewise.
(vec_ctu): Likewise.
(vec_splat): Likewise.
(vec_div): Likewise.
(vec_mul): Likewise.
Backport from mainline
2014-08-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.h (vec_xl): New #define.
(vec_xst): Likewise.
* config/rs6000/rs6000-builtin.def (XXSPLTD_V2DF): New built-in.
(XXSPLTD_V2DI): Likewise.
(DIV_V2DI): Likewise.
(UDIV_V2DI): Likewise.
(MUL_V2DI): Likewise.
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
entries for VSX_BUILTIN_XVRDPI, VSX_BUILTIN_DIV_V2DI,
VSX_BUILTIN_UDIV_V2DI, VSX_BUILTIN_MUL_V2DI,
VSX_BUILTIN_XXSPLTD_V2DF, and VSX_BUILTIN_XXSPLTD_V2DI).
* config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTD): New unspec.
(UNSPEC_VSX_DIVSD): Likewise.
(UNSPEC_VSX_DIVUD): Likewise.
(UNSPEC_VSX_MULSD): Likewise.
(vsx_mul_v2di): New insn-and-split.
(vsx_div_v2di): Likewise.
(vsx_udiv_v2di): Likewise.
(vsx_xxspltd_<mode>): New insn.
Backport from mainline
2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.h (vec_cpsgn): New #define.
(vec_mergee): Likewise.
(vec_mergeo): Likewise.
(vec_cntlz): Likewise.
* config/rs600/rs6000-c.c (altivec_overloaded_builtins): Add new
entries for VEC_AND, VEC_ANDC, VEC_MERGEH, VEC_MERGEL, VEC_NOR,
VEC_OR, VEC_PACKSU, VEC_XOR, VEC_PERM, VEC_SEL, VEC_VCMPGT_P,
VMRGEW, and VMRGOW.
* doc/extend.texi: Document various forms of vec_cpsgn,
vec_splats, vec_and, vec_andc, vec_mergeh, vec_mergel, vec_nor,
vec_or, vec_perm, vec_sel, vec_sub, vec_xor, vec_all_eq,
vec_all_ge, vec_all_gt, vec_all_le, vec_all_lt, vec_all_ne,
vec_any_eq, vec_any_ge, vec_any_gt, vec_any_le, vec_any_lt,
vec_any_ne, vec_mergee, vec_mergeo, vec_packsu, and vec_cntlz.
Backport from mainline
2014-07-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* config/rs6000/altivec.md (unspec enum): Fix typo in UNSPEC_VSLDOI.
(altivec_vsldoi_<mode>): Likewise.
[gcc/testsuite]
2014-12-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline
2014-09-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/builtins-1.c: Add tests for vec_ctf,
vec_cts, and vec_ctu.
* gcc.target/powerpc/builtins-2.c: Likewise.
Backport from mainline
2014-08-28 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* gcc.target/powerpc/builtins-1.c: Add tests for vec_xl, vec_xst,
vec_round, vec_splat, vec_div, and vec_mul.
* gcc.target/powerpc/builtins-2.c: New test.
Backport from mainline
2014-08-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
* testsuite/gcc.target/powerpc/builtins-1.c: New test.
From-SVN: r218613
Bill Schmidt [Wed, 10 Dec 2014 17:46:33 +0000 (17:46 +0000)]
backport: re PR middle-end/64225 (-funsafe-math-optimizations generates call to pow where multiply instruction would do)
2014-12-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Backport from mainline:
2014-12-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR middle-end/64225
* tree-ssa-reassoc.c (acceptable_pow_call): Disable transformation
for BUILT_IN_POW when flag_errno_math is present.
From-SVN: r218587
Marek Polacek [Wed, 10 Dec 2014 08:29:44 +0000 (08:29 +0000)]
re PR tree-optimization/61686 (Incorrect check in comparison function range_entry_cmp() in tree_ssa_reassoc.c)
PR tree-optimization/61686
* tree-ssa-reassoc.c (range_entry_cmp): Use q->high instead of
p->high.
From-SVN: r218562
GCC Administrator [Wed, 10 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218548
Oleg Endo [Tue, 9 Dec 2014 22:51:32 +0000 (22:51 +0000)]
backport: re PR target/55351 (can't build libgcc for -m5-compact variant in SH64)
libgcc/
Backport from mainline
2014-11-30 Oleg Endo <olegendo@gcc.gnu.org>
PR target/55351
* config/sh/lib1funcs.S: Check value of __SHMEDIA__ instead of checking
whether it's defined.
From-SVN: r218545
David Edelsohn [Tue, 9 Dec 2014 16:38:13 +0000 (16:38 +0000)]
xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append alignment to section name.
* config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append
alignment to section name. Increase default alignment to word.
From-SVN: r218523
Uros Bizjak [Tue, 9 Dec 2014 14:44:06 +0000 (15:44 +0100)]
re PR bootstrap/64213 (gimple-match.c:1523:6: error: ‘GIMPLE’ was not declared in this scope)
PR bootstrap/64213
Revert:
2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/64037
* combine.c (setup_incoming_promotions): Pass the argument
before any promotions happen to promote_function_mode.
testsuite/ChangeLog:
PR bootstrap/64213
Revert:
2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
PR rtl-optimization/64037
* g++.dg/pr64037.C: New test.
From-SVN: r218518
GCC Administrator [Tue, 9 Dec 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218498
Richard Biener [Mon, 8 Dec 2014 11:29:43 +0000 (11:29 +0000)]
backport: configure.ac: Permit also ISL 0.14 with CLooG.
2014-12-08 Richard Biener <rguenther@suse.de>
Backport from 4.9 branch
2014-12-04 Tobias Burnus <burnus@net-b.de>
* configure.ac: Permit also ISL 0.14 with CLooG.
* Makefile.def: Make more dependent on mpfr, mpc, isl, and cloog.
* Makefile.in: Regenerate.
* configure: Regenerate.
gcc/
* configure.ac
(ac_has_isl_schedule_constraints_compute_schedule):
New check.
* graphite-clast-to-gimple.c: For ISL 0.14, include deprecate headers.
* graphite-interchange.c: Ditto.
* graphite-poly.c: Ditto.
* graphite-sese-to-poly.c: Ditto.
* graphite-optimize-isl.c (getScheduleForBandList): Ditto.
Conditionally use ISL 0.13+ functions.
* config.in: Regenerate.
* configure: Regenerate.
From-SVN: r218481
GCC Administrator [Mon, 8 Dec 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218473
Oleg Endo [Sun, 7 Dec 2014 23:00:30 +0000 (23:00 +0000)]
backport: re PR target/50751 (SH Target: Displacement addressing does not work for QImode and HImode)
gcc/
Backport from mainline
2014-12-07 Oleg Endo <olegendo@gcc.gnu.org>
PR target/50751
* config/sh/sh.md (extendqihi2): Allow only for TARGET_SH1.
From-SVN: r218471
GCC Administrator [Sun, 7 Dec 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218458
Jonathan Wakely [Sat, 6 Dec 2014 20:38:07 +0000 (20:38 +0000)]
re PR libstdc++/59603 (std::random_shuffle tries to swap element with itself)
PR libstdc++/59603
* include/bits/stl_algo.h (random_shuffle): Prevent self-swapping.
* testsuite/25_algorithms/random_shuffle/59603.cc: New.
From-SVN: r218454
Jonathan Wakely [Sat, 6 Dec 2014 20:38:01 +0000 (20:38 +0000)]
re PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)
PR libstdc++/61947
* include/std/tuple (_Head_base): Use allocator_arg_t parameters to
disambiguate unary constructors.
(_Tuple_impl): Pass allocator_arg_t arguments.
* testsuite/20_util/tuple/61947.cc: New.
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error line.
From-SVN: r218453
Jonathan Wakely [Sat, 6 Dec 2014 20:37:54 +0000 (20:37 +0000)]
re PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointer if new fails)
PR libstdc++/63840
* include/std/functional (function::function(const function&)): Set
_M_manager after operations that might throw.
* include/tr1/functional (function::function(const function&),
function::function(_Functor, _Useless)): Likewise.
* testsuite/20_util/function/63840.cc: New.
* testsuite/tr1/3_function_objects/function/63840.cc: New.
From-SVN: r218452
GCC Administrator [Sat, 6 Dec 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218441
Uros Bizjak [Fri, 5 Dec 2014 12:23:22 +0000 (13:23 +0100)]
configure.tgt (x86_64): Tune -m32 multilib to generic.
libitm/ChangeLog:
* configure.tgt (x86_64): Tune -m32 multilib to generic.
libgomp/ChangeLog:
* configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic.
From-SVN: r218421
H.J. Lu [Fri, 5 Dec 2014 12:02:33 +0000 (12:02 +0000)]
Pass unpromoted argument to promote_function_mode
This patch updates setup_incoming_promotions in combine.c to match what
is actually passed in assign_parm_setup_reg in function.c.
gcc/
Backport from mainline
PR rtl-optimization/64037
* combine.c (setup_incoming_promotions): Pass the argument
before any promotions happen to promote_function_mode.
gcc/testsuite/
Backport from mainline
PR rtl-optimization/64037
* g++.dg/pr64037.C: New test.
From-SVN: r218420
GCC Administrator [Fri, 5 Dec 2014 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218411
Shanyao Chen [Thu, 4 Dec 2014 15:15:57 +0000 (15:15 +0000)]
backport: re PR target/59593 ([arm big-endian] using "ldrh" access a immediate which stored in a memory by word)
Backport from mainline
2014-11-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/59593
* config/arm/arm.md (*movhi_insn): Use right formatting
for immediate.
2014-11-19 Felix Yang <felix.yang@huawei.com>
Shanyao Chen <chenshanyao@huawei.com>
PR target/59593
* config/arm/arm.md (define_attr "arch"): Add v6t2.
(define_attr "arch_enabled"): Add test for the above.
(*movhi_insn_arch4): Add new alternative.
From-SVN: r218376
Jakub Jelinek [Thu, 4 Dec 2014 09:48:54 +0000 (10:48 +0100)]
re PR c++/56493 (Performance regression in google dense hashmap)
PR c++/56493
* convert.c (convert_to_real, convert_to_expr, convert_to_complex):
Handle COMPOUND_EXPR.
* c-c++-common/pr56493.c: New test.
From-SVN: r218347
GCC Administrator [Thu, 4 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218336
GCC Administrator [Wed, 3 Dec 2014 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218297
Ulrich Weigand [Tue, 2 Dec 2014 14:33:00 +0000 (14:33 +0000)]
re PR target/64115 (ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000.c:7051)
PR target/64115
* config/rs6000/rs6000.c (rs6000_delegitimize_address): Remove
invalid UNSPEC_TOCREL sanity check under ENABLE_CHECKING.
From-SVN: r218275
GCC Administrator [Tue, 2 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218252
Richard Biener [Mon, 1 Dec 2014 13:48:21 +0000 (13:48 +0000)]
re PR middle-end/64111 (ICE: conversion of register to a different size)
2014-12-01 Richard Biener <rguenther@suse.de>
PR middle-end/64111
* tree.c (int_cst_hash_hash): Use TYPE_UID instead of
htab_hash_pointer to not break PCH.
From-SVN: r218214
GCC Administrator [Mon, 1 Dec 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218195
GCC Administrator [Sun, 30 Nov 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218185
GCC Administrator [Sat, 29 Nov 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218176
Jakub Jelinek [Fri, 28 Nov 2014 17:06:23 +0000 (18:06 +0100)]
backport: re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involving compound literal shenanigans)
Backported from mainline
2014-11-27 Jakub Jelinek <jakub@redhat.com>
PR middle-end/64067
* expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
not only if modifier is EXPAND_INITIALIZER, but whenever
COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.
* gcc.c-torture/compile/pr64067.c: New test.
From-SVN: r218169
Jakub Jelinek [Fri, 28 Nov 2014 17:05:34 +0000 (18:05 +0100)]
backport: re PR preprocessor/60436 (C preprocessor segfaults on assembly file)
Backported from mainline
2014-11-25 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/60436
* line-map.c (linemap_line_start): If highest is above 0x60000000
and we are still tracking columns or highest is above 0x70000000,
force add_map.
From-SVN: r218168
Jakub Jelinek [Fri, 28 Nov 2014 17:04:51 +0000 (18:04 +0100)]
backport: re PR fortran/63938 (OpenMP atomic update does not protect access to automatic array)
Backported from mainline
2014-11-24 Jakub Jelinek <jakub@redhat.com>
PR fortran/63938
* trans-openmp.c (gfc_trans_omp_atomic): Make sure lhsaddr is
simple enough for goa_lhs_expr_p.
* libgomp.fortran/pr63938-1.f90: New test.
* libgomp.fortran/pr63938-2.f90: New test.
From-SVN: r218167
Jakub Jelinek [Fri, 28 Nov 2014 17:03:55 +0000 (18:03 +0100)]
backport: re PR rtl-optimization/63659 (wrong code at -O2 and -O3 on x86_64-linux-gnu)
Backported from mainline
2014-10-31 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/63659
* ree.c (update_reg_equal_equiv_notes): New function.
(combine_set_extension, transform_ifelse): Use it.
* gcc.c-torture/execute/pr63659.c: New test.
From-SVN: r218166
Jakub Jelinek [Fri, 28 Nov 2014 17:03:01 +0000 (18:03 +0100)]
backport: re PR libgomp/61200 (internal compiler error: Segmentation fault, assert & openmp)
Backported from mainline
2014-10-03 Jakub Jelinek <jakub@redhat.com>
PR libgomp/61200
* omp-low.c (taskreg_contexts): New variable.
(scan_omp_parallel): Push newly created context into taskreg_contexts
vector and move record layout code to finish_taskreg_scan.
(scan_omp_task): Likewise.
(finish_taskreg_scan): New function.
(execute_lower_omp): Call finish_taskreg_scan on all taskreg_contexts
vector elements and release it.
* c-c++-common/gomp/pr61200.c: New test.
* testsuite/libgomp.c/pr61200.c: New test.
From-SVN: r218165
GCC Administrator [Fri, 28 Nov 2014 00:16:05 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218135
Thomas Preud'homme [Thu, 27 Nov 2014 14:10:10 +0000 (14:10 +0000)]
backport: re PR libgcc/56846 (_Unwind_Backtrace on ARM and noexcept)
2014-11-27 Thomas Preud'homme <thomas.preudhomme@arm.com>
Backport from mainline
2014-09-10 Tony Wang <tony.wang@arm.com>
PR target/56846
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
Return with CONTINUE_UNWINDING when the state pattern
contains: _US_VIRTUAL_UNWIND_FRAME | _US_FORCE_UNWIND
From-SVN: r218127
GCC Administrator [Thu, 27 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218106
Richard Biener [Wed, 26 Nov 2014 13:15:16 +0000 (13:15 +0000)]
Backport PRs 61969, 62031, 63379, 63605, 63665
2014-11-26 Richard Biener <rguenther@suse.de>
Backport from mainline
2014-10-08 Richard Biener <rguenther@suse.de>
PR tree-optimization/61969
* tree-nrv.c (pass_nrv::execute): Properly test for automatic
variables.
2014-08-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/62031
* tree-data-ref.c (dr_analyze_indices): Do not set
DR_UNCONSTRAINED_BASE.
(dr_may_alias_p): All indirect accesses have to go the
formerly DR_UNCONSTRAINED_BASE path.
* tree-data-ref.h (struct indices): Remove
unconstrained_base member.
(DR_UNCONSTRAINED_BASE): Remove.
* gcc.dg/torture/pr62031.c: New testcase.
2014-10-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/63379
* tree-vect-slp.c (vect_get_constant_vectors): Do not compute
a neutral operand for min/max when it is not a reduction chain.
* gcc.dg/vect/pr63379.c: New testcase.
2014-11-07 Richard Biener <rguenther@suse.de>
PR tree-optimization/63605
* fold-const.c (fold_binary_loc): Properly use element_precision
for types that may not be scalar.
* gcc.dg/vect/pr63605.c: New testcase.
2014-10-28 Richard Biener <rguenther@suse.de>
PR middle-end/63665
* fold-const.c (fold_comparison): Properly guard simplifying
against INT_MAX/INT_MIN with !TYPE_OVERFLOW_WRAPS.
* gcc.dg/pr63665.c: New testcase.
From-SVN: r218079
GCC Administrator [Wed, 26 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218069
GCC Administrator [Tue, 25 Nov 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r218034
GCC Administrator [Mon, 24 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217993
GCC Administrator [Sun, 23 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217976
Eric Botcazou [Sat, 22 Nov 2014 11:29:27 +0000 (11:29 +0000)]
backport: re PR target/47500 (-G0 option not recognized by gnat1)
Backport from mainline
2014-11-20 Vincent Celier <celier@adacore.com>
PR ada/47500
* back_end.adb (Scan_Back_End_Switches): Skip switch -G and
its argument.
From-SVN: r217963
Oleg Endo [Sat, 22 Nov 2014 04:52:46 +0000 (04:52 +0000)]
backport: re PR target/60111 ([SH] ICE compiling Newlib)
gcc/
Backport from mainline
2014-11-20 Segher Boessenkool <segher@kernel.crashing.org>
PR target/60111
* config/sh/sh.c: Use signed char for signed field.
From-SVN: r217959
GCC Administrator [Sat, 22 Nov 2014 00:16:13 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217953
Bill Schmidt [Fri, 21 Nov 2014 15:39:20 +0000 (15:39 +0000)]
re PR target/63673 (VSX intrinsic vec_vsx_ld fails to compile with double, maps to wrong instructions with float)
2014-11-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
PR target/63673
* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Allow
the base pointer of vec_vsx_ld and vec_vsx_st to take a pointer to
double.
From-SVN: r217931
GCC Administrator [Fri, 21 Nov 2014 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217896
GCC Administrator [Thu, 20 Nov 2014 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217820
Uros Bizjak [Wed, 19 Nov 2014 23:29:51 +0000 (00:29 +0100)]
re PR target/63947 (Wrong fcmov suffix)
PR target/63947
* config/i386/i386.c (put_condition_code) <case LTU, case GEU>:
Output "b" and "nb" suffix for FP mode.
testsuite/ChangeLog:
PR target/63947
* gcc.target/i386/pr63947.c: New test.
From-SVN: r217819
Tom de Vries [Wed, 19 Nov 2014 11:08:02 +0000 (11:08 +0000)]
Fix tail-merge pass for dead type-unsafe code
2014-11-19 Tom de Vries <tom@codesourcery.com>
Backport from mainline
PR tree-optimization/62167
* tree-ssa-tail-merge.c (stmt_local_def): Handle statements with vuse
conservatively.
(gimple_equal_p): Don't use vn_valueize to compare for lhs equality of
assigns.
* gcc.dg/pr51879-12.c: Add xfails.
* gcc.dg/pr62167-run.c: New test.
* gcc.dg/pr62167.c: New test.
From-SVN: r217764
GCC Administrator [Wed, 19 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217743
Teresa Johnson [Tue, 18 Nov 2014 14:20:58 +0000 (14:20 +0000)]
backport: re PR tree-optimization/63841 (Incorrect strlen optimization after complete unroll)
2014-11-18 Teresa Johnson <tejohnson@google.com>
Backport from mainline and gcc-4_9 branch.
2014-11-13 Teresa Johnson <tejohnson@google.com>
PR tree-optimization/63841
* tree-ssa-strlen.c (strlen_optimize_stmt): Ignore clobbers.
2014-11-13 Teresa Johnson <tejohnson@google.com>
PR tree-optimization/63841
* testsuite/g++.dg/tree-ssa/pr63841.C: New test.
From-SVN: r217715
GCC Administrator [Tue, 18 Nov 2014 00:16:16 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217684
GCC Administrator [Mon, 17 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217635
Eric Botcazou [Sun, 16 Nov 2014 15:51:55 +0000 (15:51 +0000)]
tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
* doc/tm.texi.in (TARGET_FLAGS_REGNUM): Move around.
* doc/tm.texi: Regenerate.
Backport from mainline
2013-09-16 Andreas Schwab <schwab@linux-m68k.org>
* doc/tm.texi.in (Cond Exec Macros): Remove node.
(Condition Code): Don't reference it.
* doc/tm.texi: Regenerate.
From-SVN: r217630
GCC Administrator [Sun, 16 Nov 2014 00:16:10 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217620
GCC Administrator [Sat, 15 Nov 2014 00:16:15 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217597
GCC Administrator [Fri, 14 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217526
Christophe Lyon [Thu, 13 Nov 2014 13:44:44 +0000 (13:44 +0000)]
backport: arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Update to support vector modes.
2014-11-13 Christophe Lyon <christophe.lyon@linaro.org>
Backport from mainline
2014-11-02 Michael Collison <michael.collison@linaro.org>
* config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
to support vector modes.
(CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
From-SVN: r217490
Eric Botcazou [Thu, 13 Nov 2014 11:45:38 +0000 (11:45 +0000)]
tm.texi.in (SELECT_CC_MODE): Update example.
* doc/tm.texi.in (SELECT_CC_MODE): Update example.
(REVERSIBLE_CC_MODE): Fix example.
(REVERSE_CONDITION): Fix typo.
* doc/tm.texi: Regenerate.
From-SVN: r217478
GCC Administrator [Thu, 13 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217454
Jakub Jelinek [Wed, 12 Nov 2014 23:25:47 +0000 (00:25 +0100)]
re PR ipa/63838 (ipa-pure-const miscomputes can_throw)
PR ipa/63838
* ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
chain instead of node->indirect_calls.
* g++.dg/ipa/pr63838.C: New test.
From-SVN: r217451
GCC Administrator [Wed, 12 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217396
GCC Administrator [Tue, 11 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217328
Daniel Hellstrom [Mon, 10 Nov 2014 11:35:27 +0000 (12:35 +0100)]
backport: config.gcc (sparc-*-rtems*): Clean away unused t-elf.
2014-11-10 Daniel Hellstrom <daniel@gaisler.com>
Backport from mainline
* config.gcc (sparc-*-rtems*): Clean away unused t-elf.
* config/sparc/t-rtems: Add leon3v7 and muser-mode multilibs.
From-SVN: r217283
GCC Administrator [Mon, 10 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217270
GCC Administrator [Sun, 9 Nov 2014 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217257
GCC Administrator [Sat, 8 Nov 2014 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217243
Daniel Hellstrom [Fri, 7 Nov 2014 12:23:20 +0000 (13:23 +0100)]
backport: config.gcc (sparc*-*-*): Accept mcpu=leon3v7 processor.
Backport from mainline
2014-11-07 Daniel Hellstrom <daniel@gaisler.com>
* config.gcc (sparc*-*-*): Accept mcpu=leon3v7 processor.
* doc/invoke.texi (SPARC options): Add mcpu=leon3v7 comment.
* config/sparc/leon.md (leon3_load, leon_store, leon_fp_*): Handle
leon3v7 as leon3.
* config/sparc/sparc-opts.h (enum processor_type): Add LEON3V7.
* config/sparc/sparc.c (sparc_option_override): Add leon3v7 support.
* config/sparc/sparc.h (TARGET_CPU_leon3v7): New define.
* config/sparc/sparc.md (cpu): Add leon3v7.
* config/sparc/sparc.opt (enum processor_type): Add leon3v7.
From-SVN: r217217
John David Anglin [Fri, 7 Nov 2014 01:04:17 +0000 (01:04 +0000)]
pa.md (trap): New insn.
* config/pa/pa.md (trap): New insn. Add "trap" to attribute type.
Don't allow trap insn in in_branch_delay, in_nullified_branch_delay
or in_call_delay.
From-SVN: r217210
GCC Administrator [Fri, 7 Nov 2014 00:16:12 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217205
Kyrylo Tkachov [Thu, 6 Nov 2014 08:53:18 +0000 (08:53 +0000)]
[AArch64][4.8] LINK_SPEC changes for Cortex-A53 erratum 835769 workaround
* config/aarch64/aarch64-elf-raw.h (CA53_ERR_835769_SPEC): Define.
(LINK_SPEC): Include CA53_ERR_835769_SPEC.
* config/aarch64/aarch64-linux.h (CA53_ERR_835769_SPEC): Define.
(LINK_SPEC): Include CA53_ERR_835769_SPEC.
From-SVN: r217177
GCC Administrator [Thu, 6 Nov 2014 00:16:11 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217168
David Edelsohn [Wed, 5 Nov 2014 14:53:23 +0000 (14:53 +0000)]
backport: configure.host (aix4.3+, 5+): Do not use -G in link command.
Backported from mainline.
2014-10-30 David Edelsohn <dje.gcc@gmail.com>
* configure.host (aix4.3+, 5+): Do not use -G in link command.
From-SVN: r217131
GCC Administrator [Wed, 5 Nov 2014 00:16:06 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217107
GCC Administrator [Tue, 4 Nov 2014 00:16:14 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r217059
Marek Polacek [Mon, 3 Nov 2014 12:39:42 +0000 (12:39 +0000)]
re PR c/52769 (Unspecified designated initializer might not set to zero in some cases)
PR c/52769
* gcc.dg/pr52769.c: New test.
From-SVN: r217038