]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
10 years agore PR sanitizer/64265 (r217669 broke tsan)
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

10 years agoDaily bump.
GCC Administrator [Mon, 15 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218723

10 years agoDaily bump.
GCC Administrator [Sun, 14 Dec 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218712

10 years agobackport: inclhack.def (aix_assert): New fix.
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

10 years agobackport: re PR tree-optimization/64269 (ICE with -O3 enabled on Ubuntu 14.04)
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

10 years agoDaily bump.
GCC Administrator [Sat, 13 Dec 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218695

10 years agoDaily bump.
GCC Administrator [Fri, 12 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218649

10 years ago* doc/md.texi (Insn Lengths): Fix description of (pc).
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

10 years agoDaily bump.
GCC Administrator [Thu, 11 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218614

10 years agobackport: rs6000-builtin.def (XVCVSXDDP_SCALE): New built-in definition.
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

10 years agobackport: re PR middle-end/64225 (-funsafe-math-optimizations generates call to pow...
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

10 years agore PR tree-optimization/61686 (Incorrect check in comparison function range_entry_cmp...
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

10 years agoDaily bump.
GCC Administrator [Wed, 10 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218548

10 years agobackport: re PR target/55351 (can't build libgcc for -m5-compact variant in SH64)
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

10 years agoxcoff.h (ASM_OUTPUT_ALIGNED_LOCAL): Append alignment to section name.
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

10 years agore PR bootstrap/64213 (gimple-match.c:1523:6: error: ‘GIMPLE’ was not declared in...
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

10 years agoDaily bump.
GCC Administrator [Tue, 9 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218498

10 years agobackport: configure.ac: Permit also ISL 0.14 with CLooG.
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

10 years agoDaily bump.
GCC Administrator [Mon, 8 Dec 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218473

10 years agobackport: re PR target/50751 (SH Target: Displacement addressing does not work for...
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

10 years agoDaily bump.
GCC Administrator [Sun, 7 Dec 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218458

10 years agore PR libstdc++/59603 (std::random_shuffle tries to swap element with itself)
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

10 years agore PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)
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

10 years agore PR libstdc++/63840 (std::function copy constructor deletes an uninitialized pointe...
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

10 years agoDaily bump.
GCC Administrator [Sat, 6 Dec 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218441

10 years agoconfigure.tgt (x86_64): Tune -m32 multilib to generic.
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

10 years agoPass unpromoted argument to promote_function_mode
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

10 years agoDaily bump.
GCC Administrator [Fri, 5 Dec 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218411

10 years agobackport: re PR target/59593 ([arm big-endian] using "ldrh" access a immediate ...
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

10 years agore PR c++/56493 (Performance regression in google dense hashmap)
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

10 years agoDaily bump.
GCC Administrator [Thu, 4 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218336

10 years agoDaily bump.
GCC Administrator [Wed, 3 Dec 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218297

10 years agore PR target/64115 (ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000...
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

10 years agoDaily bump.
GCC Administrator [Tue, 2 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218252

10 years agore PR middle-end/64111 (ICE: conversion of register to a different size)
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

10 years agoDaily bump.
GCC Administrator [Mon, 1 Dec 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218195

10 years agoDaily bump.
GCC Administrator [Sun, 30 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218185

10 years agoDaily bump.
GCC Administrator [Sat, 29 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218176

10 years agobackport: re PR middle-end/64067 (ICE in expand_expr_real_1, at expr.c:10540, involvi...
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

10 years agobackport: re PR preprocessor/60436 (C preprocessor segfaults on assembly file)
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

10 years agobackport: re PR fortran/63938 (OpenMP atomic update does not protect access to automa...
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

10 years agobackport: re PR rtl-optimization/63659 (wrong code at -O2 and -O3 on x86_64-linux...
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

10 years agobackport: re PR libgomp/61200 (internal compiler error: Segmentation fault, assert...
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

10 years agoDaily bump.
GCC Administrator [Fri, 28 Nov 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218135

10 years agobackport: re PR libgcc/56846 (_Unwind_Backtrace on ARM and noexcept)
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

10 years agoDaily bump.
GCC Administrator [Thu, 27 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218106

10 years agoBackport PRs 61969, 62031, 63379, 63605, 63665
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

10 years agoDaily bump.
GCC Administrator [Wed, 26 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218069

10 years agoDaily bump.
GCC Administrator [Tue, 25 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r218034

10 years agoDaily bump.
GCC Administrator [Mon, 24 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217993

10 years agoDaily bump.
GCC Administrator [Sun, 23 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217976

10 years agobackport: re PR target/47500 (-G0 option not recognized by gnat1)
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

10 years agobackport: re PR target/60111 ([SH] ICE compiling Newlib)
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

10 years agoDaily bump.
GCC Administrator [Sat, 22 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217953

10 years agore PR target/63673 (VSX intrinsic vec_vsx_ld fails to compile with double, maps to...
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

10 years agoDaily bump.
GCC Administrator [Fri, 21 Nov 2014 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217896

10 years agoDaily bump.
GCC Administrator [Thu, 20 Nov 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217820

10 years agore PR target/63947 (Wrong fcmov suffix)
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

10 years agoFix tail-merge pass for dead type-unsafe code
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

10 years agoDaily bump.
GCC Administrator [Wed, 19 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217743

10 years agobackport: re PR tree-optimization/63841 (Incorrect strlen optimization after complete...
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

10 years agoDaily bump.
GCC Administrator [Tue, 18 Nov 2014 00:16:16 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217684

10 years agoDaily bump.
GCC Administrator [Mon, 17 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217635

10 years agotm.texi.in (TARGET_FLAGS_REGNUM): Move around.
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

10 years agoDaily bump.
GCC Administrator [Sun, 16 Nov 2014 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217620

10 years agoDaily bump.
GCC Administrator [Sat, 15 Nov 2014 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217597

10 years agoDaily bump.
GCC Administrator [Fri, 14 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217526

10 years agobackport: arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Update to support vector modes.
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

10 years agotm.texi.in (SELECT_CC_MODE): Update example.
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

10 years agoDaily bump.
GCC Administrator [Thu, 13 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217454

10 years agore PR ipa/63838 (ipa-pure-const miscomputes can_throw)
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

10 years agoDaily bump.
GCC Administrator [Wed, 12 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217396

10 years agoDaily bump.
GCC Administrator [Tue, 11 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217328

10 years agobackport: config.gcc (sparc-*-rtems*): Clean away unused t-elf.
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

10 years agoDaily bump.
GCC Administrator [Mon, 10 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217270

10 years agoDaily bump.
GCC Administrator [Sun, 9 Nov 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217257

10 years agoDaily bump.
GCC Administrator [Sat, 8 Nov 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217243

10 years agobackport: config.gcc (sparc*-*-*): Accept mcpu=leon3v7 processor.
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

10 years agopa.md (trap): New insn.
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

10 years agoDaily bump.
GCC Administrator [Fri, 7 Nov 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217205

10 years ago[AArch64][4.8] LINK_SPEC changes for Cortex-A53 erratum 835769 workaround
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

10 years agoDaily bump.
GCC Administrator [Thu, 6 Nov 2014 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217168

10 years agobackport: configure.host (aix4.3+, 5+): Do not use -G in link command.
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

10 years agoDaily bump.
GCC Administrator [Wed, 5 Nov 2014 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217107

10 years agoDaily bump.
GCC Administrator [Tue, 4 Nov 2014 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217059

10 years agore PR c/52769 (Unspecified designated initializer might not set to zero in some cases)
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

10 years agoDaily bump.
GCC Administrator [Mon, 3 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217021

10 years agoDaily bump.
GCC Administrator [Sun, 2 Nov 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r217008

10 years agoDaily bump.
GCC Administrator [Sat, 1 Nov 2014 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216992

10 years agoDaily bump.
GCC Administrator [Fri, 31 Oct 2014 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216946

10 years agoDaily bump.
GCC Administrator [Thu, 30 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216856

10 years ago[AArch64] Restore recog state after finding pre-madd instruction
Kyrylo Tkachov [Wed, 29 Oct 2014 21:56:01 +0000 (21:56 +0000)] 
[AArch64] Restore recog state after finding pre-madd instruction

    * config/aarch64/aarch64.c (aarch64_madd_needs_nop): Restore
    recog state after aarch64_prev_real_insn call.

    * gcc.target/aarch64/madd_after_asm_1.c: New test.

From-SVN: r216854

10 years agoDaily bump.
GCC Administrator [Wed, 29 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216814

10 years agoDaily bump.
GCC Administrator [Tue, 28 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216767

10 years agoDaily bump.
GCC Administrator [Mon, 27 Oct 2014 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216721

10 years agolinux-unwind.h (pa32_read_access_ok): New function.
John David Anglin [Sun, 26 Oct 2014 14:52:49 +0000 (14:52 +0000)] 
linux-unwind.h (pa32_read_access_ok): New function.

* config/pa/linux-unwind.h (pa32_read_access_ok): New function.
(pa32_fallback_frame_state): Use pa32_read_access_ok to check if
memory read accesses are ok.

From-SVN: r216718

10 years agoDaily bump.
GCC Administrator [Sun, 26 Oct 2014 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216694

10 years agoDaily bump.
GCC Administrator [Sat, 25 Oct 2014 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r216684

10 years ago[AArch64] Backport --enable-fix-cortex-a53-835769 configure option
Kyrylo Tkachov [Fri, 24 Oct 2014 12:22:47 +0000 (12:22 +0000)] 
[AArch64] Backport --enable-fix-cortex-a53-835769 configure option

* config.gcc (aarch64*-*-*): Define TARGET_FIX_ERR_A53_835769_DEFAULT
if asked.
* configure.ac: Add --enable-fix-cortex-a53-835769 option.
* configure: Regenerate.
* config/aarch64/aarch64.c (aarch64_override_options): Handle
TARGET_FIX_ERR_A53_835769_DEFAULT.
* config/aarch64/aarch64.opt (mfix-cortex-a53-835769): Set Init value
to 2.
* doc/install.texi: Document --enable-fix-cortex-a53-835769 option.

From-SVN: r216665

10 years ago[AArch64][4.8] Backport Cortex-A53 erratum 835769 workaround
Kyrylo Tkachov [Fri, 24 Oct 2014 12:21:19 +0000 (12:21 +0000)] 
[AArch64][4.8] Backport Cortex-A53 erratum 835769 workaround

* config/aarch64/aarch64.opt (mfix-cortex-a53-835769): New option.
* config/aarch64/aarch64.h (ADJUST_INSN_LENGTH): Define.
(FINAL_PRESCAN_INSN): Likewise.
* config/aarch64/aarch64.h (is_mem_p): New function.
(has_memory_op): Likewise.
(aarch64_prev_real_insn): Likewise.
(is_madd_op): Likewise.
(dep_between_memop_and_curr): Likewise.
(aarch64_madd_needs_nop): Likewise.
(aarch64_final_prescan_insn): Likewise.
* doc/invoke.texi (Document new option).

From-SVN: r216664