]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
8 years agoDaily bump.
GCC Administrator [Wed, 7 Dec 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243326

8 years agoAdd missing noexcept on std::_Sp_locker constructors
Aditya Kumar [Tue, 6 Dec 2016 11:56:56 +0000 (11:56 +0000)] 
Add missing noexcept on std::_Sp_locker constructors

2016-12-06  Aditya Kumar  <hiraditya@msn.com>

* src/c++11/shared_ptr.cc (_Sp_locker::_Sp_locker(const void* p)): Add
noexcept on constructor.
(_Sp_locker::_Sp_locker(const void* p1, const void* p2)): Same.

From-SVN: r243296

8 years agoDaily bump.
GCC Administrator [Tue, 6 Dec 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243275

8 years agoDaily bump.
GCC Administrator [Mon, 5 Dec 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243233

8 years agobackport: re PR fortran/78443 ([OOP] Incorrect behavior with non_overridable keyword)
Janus Weil [Sun, 4 Dec 2016 16:34:13 +0000 (17:34 +0100)] 
backport: re PR fortran/78443 ([OOP] Incorrect behavior with non_overridable keyword)

2016-12-04  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/78443
* class.c (add_proc_comp): Add a vtype component for non-overridable
procedures that are overriding.

2016-12-04  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/78443
* gfortran.dg/typebound_proc_35.f90: New test case.

From-SVN: r243230

8 years agoDaily bump.
GCC Administrator [Sun, 4 Dec 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243225

8 years agoDaily bump.
GCC Administrator [Sat, 3 Dec 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243212

8 years ago[ree] PR rtl-optimization/78038: Handle global register dataflow definitions in ree
Kyrylo Tkachov [Fri, 2 Dec 2016 12:22:54 +0000 (12:22 +0000)] 
[ree] PR rtl-optimization/78038: Handle global register dataflow definitions in ree

2016-12-02  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

Backport from mainline
2016-10-21  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

PR rtl-optimization/78038
* ree.c (get_defs): Return NULL if a defining insn for REG cannot
be deduced to set REG through the RTL structure.
(make_defs_and_copies_lists): Return false on a failing get_defs call.

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

From-SVN: r243175

8 years agoS/390: Fix vector all/any cc modes.
Andreas Krebbel [Fri, 2 Dec 2016 08:51:58 +0000 (08:51 +0000)] 
S/390: Fix vector all/any cc modes.

This fixes a problem with the vector compares producing CC mode
results.

The instructions produce condition code modes which can be either
interpreted to check an ALL elements or an ANY element result.  As the
modes where used before they could not be inverted by the middle-end
by inverting the comparison code (e.g. eq to ne).  The result usually
was just wrong.

In fact inverting a comparison code on an CCVALL mode would require to
also change the mode to CCVANY but this cannot be done easily in the
middle-end.  With this patch the meaning of an ALL cc mode only refers
to the not-inverted comparison code (e.g. eq, gt, ge).  With that
change inverting the comparison code matches a not operation on the
condition code mask again.

Bootstrapped and regression tested on s390 and s390x.

Bye,

-Andreas-

gcc/testsuite/ChangeLog:

2016-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2016-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.target/s390/vector/vec-scalar-cmp-1.c: Fix and harden the
pattern checks.
* gcc.target/s390/zvector/vec-cmp-1.c: New test.

gcc/ChangeLog:

2016-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

Backport from mainline
2016-12-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/s390-modes.def (CCVEQANY, CCVH, CCVHANY, CCVHU)
(CCVHUANY): Remove modes.
(CCVIH, CCVIHU, CCVIALL, CCVIANY, CCVFALL, CCVFANY): Add modes and
documentation.
* config/s390/s390.c (s390_match_ccmode_set): Rename cc modes.
(s390_expand_vec_compare_scalar): Pick one of the cc consumer
modes.
(s390_branch_condition_mask): Adjust to use the new cc consumer
modes.  The new modes allow for proper reversal in the middle-end.
(s390_expand_vec_compare_cc): Determine the proper cc producer and
consumer modes for a comparison.
* config/s390/s390.md: Rename CCVH to CCVIH and CCVHU to CCVIHU
throughout the file.
* config/s390/vx-builtins.md: Likewise.

From-SVN: r243169

8 years agoDaily bump.
GCC Administrator [Fri, 2 Dec 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243148

8 years agobackport: rs6000.c (insn_is_swappable_p): Properly look inside UNSPEC_VSX_XXSPLTW...
Bill Schmidt [Thu, 1 Dec 2016 23:13:25 +0000 (23:13 +0000)] 
backport: rs6000.c (insn_is_swappable_p): Properly look inside UNSPEC_VSX_XXSPLTW vec.

2016-12-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2016-12-01  Alan Modra  <amodra@gmail.com>

* gcc/config/rs6000/rs6000.c (insn_is_swappable_p): Properly
look inside UNSPEC_VSX_XXSPLTW vec.

From-SVN: r243144

8 years agore PR fortran/78279 (ICE in identical_array_ref, at fortran/dependency.c:104)
Steven G. Kargl [Thu, 1 Dec 2016 21:28:41 +0000 (21:28 +0000)] 
re PR fortran/78279 (ICE in identical_array_ref, at fortran/dependency.c:104)

2016-12-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78279
* dependency.c (identical_array_ref): Convert gcc_assert to conditional
and gfc_internal_error.

2016-12-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78279
* gfortran.dg/pr78279.f90: New test.

From-SVN: r243134

8 years agoDon't define libstdc++-internal macros in Solaris 10+ <math.h>
Rainer Orth [Thu, 1 Dec 2016 15:15:40 +0000 (15:15 +0000)] 
Don't define libstdc++-internal macros in Solaris 10+ <math.h>

fixincludes:
Backport from mainline
2016-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* inclhack.def (solaris_math_12): New fix.
(hpux11_fabsf): Replace bypass by *-hp-hpux11* mach selector.
* fixincl.x: Regenerate.
* tests/base/math.h [SOLARIS_MATH_12_CHECK]: New test.

libstdc++-v3:
Backport from mainline
2016-11-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* acinclude.m4 (GLIBCXX_CHECK_MATH11_PROTO): Update comments.
(__CORRECT_ISO_CPP11_MATH_H_PROTO): Rename to ...
(__CORRECT_ISO_CPP11_MATH_H_PROTO_FP): ... this.
Add test for C++11 <math.h> integral overloads.
* configure: Regenerate.
* config.h.in: Regenerate.

* include/c_global/cmath [__cplusplus >= 201103L]: Reflect
__CORRECT_ISO_CPP11_MATH_H_PROTO to
__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.
* include/c_global/cmath [_GLIBCXX_USE_C99_MATH &&
!_GLIBCXX_USE_C99_FP_MACROS_DYNAMIC && __cplusplus >= 201103L]
(std::fpclassify): Wrap in !__CORRECT_ISO_CPP11_MATH_H_PROTO_INT.
(std::isfinite): Likewise.
(std::isinf): Likewise.
(std::isnan): Likewise.
(std::isnormal): Likewise.
(std::signbit): Likewise.
(std::isgreater): Likewise.
(std::isgreaterequal): Likewise.
(std::isless): Likewise.
(std::islessequal): Likewise.
(std::islessgreater): Likewise.
(std::isunordered): Likewise.
[__cplusplus >= 201103L && _GLIBCXX_USE_C99_MATH_TR1]
(std::acosh): Likewise.
(std::asinh): Likewise.
(std::atanh): Likewise.
(std::cbrt): Likewise.
(std::copysign): Likewise.
(std::erf): Likewise.
(std::erfc): Likewise.
(std::exp2): Likewise.
(std::expm1): Likewise.
(std::fdim): Likewise.
(std::fma): Likewise.
(std::fmax): Likewise.
(std::fmin): Likewise.
(std::hypot): Likewise.
(std::ilogb): Likewise.
(std::lgamma): Likewise.
(std::llrint): Likewise.
(std::llround): Likewise.
(std::log1p): Likewise.
(std::log2): Likewise.
(std::logb): Likewise.
(std::lrint): Likewise.
(std::lround): Likewise.
(std::nearbyint): Likewise.
(std::nextafter): Likewise.
(std::nexttoward): Likewise.
(std::remainder): Likewise.
(std::remquo): Likewise.
(std::rint): Likewise.
(std::round): Likewise.
(std::scalbln): Likewise.
(std::scalbn): Likewise.
(std::tgamma): Likewise.
(std::trunc): Likewise.
* include/tr1/cmath [_GLIBCXX_USE_C99_MATH_TR1 && __cplusplus >=
201103L]: Reflect __CORRECT_ISO_CPP11_MATH_H_PROTO to
__CORRECT_ISO_CPP11_MATH_H_PROTO_FP rename.

From-SVN: r243115

8 years agoDaily bump.
GCC Administrator [Thu, 1 Dec 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r243089

8 years agoDaily bump.
GCC Administrator [Wed, 30 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242986

8 years agobackport: re PR target/78426 (wrong code with strncmp on SH)
Kaz Kojima [Tue, 29 Nov 2016 23:23:30 +0000 (23:23 +0000)] 
backport: re PR target/78426 (wrong code with strncmp on SH)

Backported from mainline
2016-11-19  Kaz Kojima  <kkojima@gcc.gnu.org>

PR target/78426
* config/sh/sh-mem.cc (sh_expand_cmpnstr): Use copy_to_mode_reg
instead of force_reg.
(sh_expand_setmem): Likewise.

From-SVN: r242982

8 years agoDaily bump.
GCC Administrator [Tue, 29 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242939

8 years agoDaily bump.
GCC Administrator [Mon, 28 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242903

8 years agoDaily bump.
GCC Administrator [Sun, 27 Nov 2016 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242889

8 years agoDaily bump.
GCC Administrator [Sat, 26 Nov 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242885

8 years agoDaily bump.
GCC Administrator [Fri, 25 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242855

8 years agore PR fortran/78500 (ICE in gfc_check_vardef_context, at fortran/expr.c:5289)
Steven G. Kargl [Thu, 24 Nov 2016 20:11:49 +0000 (20:11 +0000)] 
re PR fortran/78500 (ICE in gfc_check_vardef_context, at fortran/expr.c:5289)

2016-11-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78500
* expr.c (gfc_check_vardef_contextm): Fix NULL pointer dereference.
* interface.c (matching_typebound_op): Ditto.

2016-11-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78500
* gfortran.dg/class_result_4.f90: New test.

From-SVN: r242849

8 years agoAdd missing backport note to changelog entry
Martin Liska [Thu, 24 Nov 2016 10:20:11 +0000 (10:20 +0000)] 
Add missing backport note to changelog entry

From-SVN: r242826

8 years agoAdd sem_item::m_hash_set (PR ipa/78309)
Martin Liska [Thu, 24 Nov 2016 10:12:24 +0000 (11:12 +0100)] 
Add sem_item::m_hash_set (PR ipa/78309)

PR ipa/78309
* ipa-icf.c (void sem_item::set_hash): Update m_hash_set.
(sem_function::get_hash): Use the new field.
(sem_function::parse): Remove an argument from ctor.
(sem_variable::parse): Likewise.
(sem_variable::get_hash): Use the new field.
(sem_item_optimizer::read_section): Use new ctor and set hash.
* ipa-icf.h: _hash is removed from sem_item::sem_item,
sem_variable::sem_variable, sem_function::sem_function.

From-SVN: r242824

8 years agoDaily bump.
GCC Administrator [Thu, 24 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242815

8 years agore PR fortran/78297 (ICE in finish_equivalences, at fortran/trans-common.c:1246)
Steven G. Kargl [Wed, 23 Nov 2016 22:48:54 +0000 (22:48 +0000)] 
re PR fortran/78297 (ICE in finish_equivalences, at fortran/trans-common.c:1246)

2016-11-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78297
* trans-common.c (finish_equivalences): Do not dereference a NULL pointer.

2016-11-23  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/78297
* gfortran.dg/pr78297.f90: New test.

From-SVN: r242811

8 years agoi386.md (*<any_or:code>hi_1): Fix operand 2 constraints.
Uros Bizjak [Wed, 23 Nov 2016 21:40:26 +0000 (22:40 +0100)] 
i386.md (*<any_or:code>hi_1): Fix operand 2 constraints.

* config/i386/i386.md (*<any_or:code>hi_1): Fix operand 2 constraints.
(kxnor<mode>): Return "#" for alternative 0.

From-SVN: r242801

8 years agobackport: re PR fortran/66227 ([OOP] EXTENDS_TYPE_OF n returns wrong result for polym...
Janus Weil [Wed, 23 Nov 2016 16:46:31 +0000 (17:46 +0100)] 
backport: re PR fortran/66227 ([OOP] EXTENDS_TYPE_OF n returns wrong result for polymorphic variable allocated to extended type)

2016-11-23  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/66227
* simplify.c (gfc_simplify_extends_type_of): Fix missed optimization.
Prevent over-simplification. Fix a comment. Add a comment.

2016-11-23  Janus Weil  <janus@gcc.gnu.org>

Backport from trunk
PR fortran/66227
* gfortran.dg/extends_type_of_3.f90: Fix and extend the test case.

From-SVN: r242770

8 years agoReplace unsupported effective-target with dg-options
Jonathan Wakely [Wed, 23 Nov 2016 15:27:12 +0000 (15:27 +0000)] 
Replace unsupported effective-target with dg-options

* testsuite/24_iterators/reverse_iterator/71771.cc: Replace calls to
C++14 std::rbegin and std::rend.  Use dg-options instead of
effective-target.

From-SVN: r242764

8 years agoDaily bump.
GCC Administrator [Wed, 23 Nov 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242730

8 years agoMakefile.in ($(lang_checks_parallelized)): Fix detection of -j argument.
Uros Bizjak [Tue, 22 Nov 2016 18:19:58 +0000 (19:19 +0100)] 
Makefile.in ($(lang_checks_parallelized)): Fix detection of -j argument.

gcc/ChangeLog

* Makefile.in ($(lang_checks_parallelized)): Fix detection
of -j argument.

gcc/ada/ChangeLog

* gcc-interface/Make-lang.in (check-acats): Fix detection
of -j argument.

libstdc++-v3/ChangeLog

* testsuite/Makefile.am
(check-DEJAGNU $(check_DEJAGNU_normal_targets)): Fix detection
of -j argument.
* testsuite/Makefile.in: Regenereate.

From-SVN: r242716

8 years agoDaily bump.
GCC Administrator [Tue, 22 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242684

8 years agoDaily bump.
GCC Administrator [Mon, 21 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242644

8 years agore PR fortran/69741 (Bad error in forall with array loop counters)
Harald Anlauf [Sun, 20 Nov 2016 20:14:18 +0000 (20:14 +0000)] 
re PR fortran/69741 (Bad error in forall with array loop counters)

2016-11-20  Harald Anlauf  <anlauf@gmx.de>

PR fortran/69741
* resolve.c (gfc_resolve_forall): Check for nonscalar index variables.

2016-11-20  Harald Anlauf  <anlauf@gmx.de>

PR fortran/69741
* gfortran.dg/forall_18.f90: New testcase.

From-SVN: r242643

8 years agoDaily bump.
GCC Administrator [Sun, 20 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242630

8 years agoDaily bump.
GCC Administrator [Sat, 19 Nov 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242611

8 years agoDaily bump.
GCC Administrator [Fri, 18 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242579

8 years agoDaily bump.
GCC Administrator [Thu, 17 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242527

8 years agoFix PR78294 - thread sanitizer broken when using ld.gold
Markus Trippelsdorf [Wed, 16 Nov 2016 11:31:18 +0000 (11:31 +0000)] 
Fix PR78294 - thread sanitizer broken when using ld.gold

When one uses ld.gold to build gcc, the thread sanitizer doesn't work,
because gold is more conservative when applying TLS relaxations than
ld.bfd. In this case a missing initial-exec attribute on a declaration
causes gcc to assume the general dynamic model. With ld.bfd this gets
relaxed to initial exec when linking the shared library, so the missing
attribute doesn't matter. But ld.gold doesn't perform this optimization
and this leads to crashes on tsan instrumented binaries.

See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78294
and: https://sourceware.org/bugzilla/show_bug.cgi?id=20805

The fix is easy, just add the missing attribute.

  PR sanitizer/78294
  * tsan/tsan_rtl.cc: Add missing attribute.

From-SVN: r242483

8 years agoDaily bump.
GCC Administrator [Wed, 16 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242464

8 years agoFix find&replace error in license boilerplate
Jonathan Wakely [Tue, 15 Nov 2016 14:44:15 +0000 (14:44 +0000)] 
Fix find&replace error in license boilerplate

* testsuite/experimental/any/typedefs.cc: Fix license text.
* testsuite/experimental/chrono/value.cc: Likewise.
* testsuite/experimental/optional/assignment/1.cc: Likewise.
* testsuite/experimental/optional/assignment/2.cc: Likewise.
* testsuite/experimental/optional/assignment/3.cc: Likewise.
* testsuite/experimental/optional/assignment/4.cc: Likewise.
* testsuite/experimental/optional/assignment/5.cc: Likewise.
* testsuite/experimental/optional/assignment/6.cc: Likewise.
* testsuite/experimental/optional/cons/move.cc: Likewise.
* testsuite/experimental/optional/cons/value.cc: Likewise.
* testsuite/experimental/optional/constexpr/cons/value.cc: Likewise.
* testsuite/experimental/optional/constexpr/make_optional.cc: Likewise.
* testsuite/experimental/optional/constexpr/observers/1.cc: Likewise.
* testsuite/experimental/optional/constexpr/observers/2.cc: Likewise.
* testsuite/experimental/optional/constexpr/observers/3.cc: Likewise.
* testsuite/experimental/optional/constexpr/observers/4.cc: Likewise.
* testsuite/experimental/optional/constexpr/observers/5.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/1.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/2.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/3.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/4.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/5.cc: Likewise.
* testsuite/experimental/optional/constexpr/relops/6.cc: Likewise.
* testsuite/experimental/optional/make_optional.cc: Likewise.
* testsuite/experimental/optional/observers/1.cc: Likewise.
* testsuite/experimental/optional/observers/2.cc: Likewise.
* testsuite/experimental/optional/observers/3.cc: Likewise.
* testsuite/experimental/optional/observers/4.cc: Likewise.
* testsuite/experimental/optional/observers/5.cc: Likewise.
* testsuite/experimental/optional/relops/1.cc: Likewise.
* testsuite/experimental/optional/relops/2.cc: Likewise.
* testsuite/experimental/optional/relops/3.cc: Likewise.
* testsuite/experimental/optional/relops/4.cc: Likewise.
* testsuite/experimental/optional/relops/5.cc: Likewise.
* testsuite/experimental/optional/relops/6.cc: Likewise.
* testsuite/experimental/optional/requirements.cc: Likewise.
* testsuite/experimental/optional/swap/1.cc: Likewise.
* testsuite/experimental/optional/typedefs.cc: Likewise.
* testsuite/experimental/ratio/value.cc: Likewise.
* testsuite/experimental/string_view/typedefs.cc: Likewise.
* testsuite/experimental/system_error/value.cc: Likewise.
* testsuite/experimental/tuple/tuple_size.cc: Likewise.
* testsuite/experimental/type_traits/value.cc: Likewise.

From-SVN: r242420

8 years agoinstall.texi: Move the 'Overriding configure test results' subsub section to the...
Matthias Klose [Tue, 15 Nov 2016 11:08:33 +0000 (11:08 +0000)] 
install.texi: Move the 'Overriding configure test results' subsub section to the...

2016-11-15  Matthias Klose  <doko@ubuntu.com>

        * doc/install.texi: Move the 'Overriding configure test results'
        subsub section to the 'Cross-Compiler-Specific Options' sub section.

From-SVN: r242411

8 years agoDaily bump.
GCC Administrator [Tue, 15 Nov 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242404

8 years agoDaily bump.
GCC Administrator [Mon, 14 Nov 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242370

8 years agodecl.c (gnat_to_gnu_entity): In assertion about known Esize...
Bob Duff [Sun, 13 Nov 2016 18:38:16 +0000 (18:38 +0000)] 
decl.c (gnat_to_gnu_entity): In assertion about known Esize...

* gcc-interface/decl.c (gnat_to_gnu_entity): In assertion about known
Esize, protect with !is_type and change !Unknown_Esize to Known_Esize.

From-SVN: r242365

8 years agoDaily bump.
GCC Administrator [Sun, 13 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242343

8 years agoDaily bump.
GCC Administrator [Sat, 12 Nov 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242329

8 years agoi386.md (*<shift_insn><mode>3_doubleword): Mark operand 0 as earlyclobber.
Uros Bizjak [Fri, 11 Nov 2016 19:43:54 +0000 (20:43 +0100)] 
i386.md (*<shift_insn><mode>3_doubleword): Mark operand 0 as earlyclobber.

* config/i386/i386.md (*<shift_insn><mode>3_doubleword): Mark
operand 0 as earlyclobber.
(*ashl<mode>3_doubleword): Ditto for all operand 0 alternatives.

From-SVN: r242320

8 years agore PR target/78310 (ICE: insn does not satisfy its constraints: {*bmi2_rorxdi3_1...
Uros Bizjak [Fri, 11 Nov 2016 17:04:18 +0000 (18:04 +0100)] 
re PR target/78310 (ICE: insn does not satisfy its constraints: {*bmi2_rorxdi3_1} with -mbmi2)

PR target/78310
* config/i386/i386.md (rotate to rotatex splitter): Avoid overflow
when calculating operand 2.
(rotate to rotatex zext splitter): Ditto.

testsuite/ChangeLog:

PR target/78310
* gcc.target/i386/pr78310.c: New test.

From-SVN: r242124

8 years agoDaily bump.
GCC Administrator [Fri, 11 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242063

8 years agoDaily bump.
GCC Administrator [Thu, 10 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r242028

8 years agore PR target/78262 (wrong code with -fschedule-insns)
Uros Bizjak [Wed, 9 Nov 2016 20:41:17 +0000 (21:41 +0100)] 
re PR target/78262 (wrong code with -fschedule-insns)

PR target/78262
* config/i386/i386.md (*<shift_insn><mode>3_doubleword): Mark
operand 0 as earlyclobber.

testsuite/ChangeLog:

PR target/78262
* gcc.target/i386/pr78262.c: New test.

From-SVN: r242022

8 years agoDaily bump.
GCC Administrator [Wed, 9 Nov 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241985

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

From-SVN: r241947

8 years agoPR libgcc/78064: Add missing include directive to unwind-c.c
Florian Weimer [Mon, 7 Nov 2016 19:54:05 +0000 (20:54 +0100)] 
PR libgcc/78064: Add missing include directive to unwind-c.c

Backport from mainline
2016-10-24  Florian Weimer  <fweimer@redhat.com>

PR libgcc/78064
* unwind-c.c: Include auto-target.h.

From-SVN: r241929

8 years agore PR driver/78206 (bootstrap failure under Apple sandbox that blacklists reads in...
Jack Howarth [Mon, 7 Nov 2016 18:35:50 +0000 (18:35 +0000)] 
re PR driver/78206 (bootstrap failure under Apple sandbox that blacklists reads in /usr/local)

2016-11-06  Jack Howarth  <howarth.at.gcc@gmail.com>

PR driver/78206
* incpath.c: (remove_dup(): Also silently ignore EPERM.

From-SVN: r241920

8 years agoDaily bump.
GCC Administrator [Mon, 7 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241889

8 years agobackport: re PR fortran/69544 (Internal compiler error with -Wall and where)
Thomas Koenig [Sun, 6 Nov 2016 20:30:31 +0000 (20:30 +0000)] 
backport: re PR fortran/69544 (Internal compiler error with -Wall and where)

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/69544
PR fortran/78178
* gfortran.dg/where_5.f90:  New test.
* gfortran.dg/where_6.f90:  New test.

2016-11-06  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/69544
PR fortran/78178
* match.c (match_simple_where):  Fill in locus for assigment
in simple WHERE statement.
(gfc_match_where):  Likewise.

From-SVN: r241886

8 years agoDaily bump.
GCC Administrator [Sun, 6 Nov 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241880

8 years agoPR c/71115 - [5/6 Regression] Missing warning: excess elements in struct initializer
Martin Sebor [Sat, 5 Nov 2016 23:57:13 +0000 (23:57 +0000)] 
PR c/71115 - [5/6 Regression] Missing warning: excess elements in struct initializer

PR c/71115 - [5/6 Regression] Missing warning: excess elements in struct initializer
Backport from trunk.

gcc/c/ChangeLog:
* c-typeck.c (error_init): Use
expansion_point_location_if_in_system_header.
(warning_init): Same.

gcc/testsuite/ChangeLog:
* gcc.dg/init-excess-2.c: New test.
* gcc.dg/Woverride-init-1.c: Adjust.
* gcc.dg/Woverride-init-2.c: Same.

From-SVN: r241878

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

From-SVN: r241865

8 years agoDaily bump.
GCC Administrator [Fri, 4 Nov 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241835

8 years agoCreate x.gcov file for binary w/o x.gcda file (PR
Martin Liska [Thu, 3 Nov 2016 13:43:12 +0000 (14:43 +0100)] 
Create x.gcov file for binary w/o x.gcda file (PR

From-SVN: r241820

8 years ago* explow.c (validize_mem): Do not modify the argument in-place
Eric Botcazou [Thu, 3 Nov 2016 11:51:03 +0000 (11:51 +0000)] 
* explow.c (validize_mem): Do not modify the argument in-place

From-SVN: r241814

8 years agoDaily bump.
GCC Administrator [Thu, 3 Nov 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241806

8 years agobackport: re PR middle-end/72747 (powerpc: wrong code generated for vec_splats in...
Will Schmidt [Wed, 2 Nov 2016 14:13:07 +0000 (14:13 +0000)] 
backport: re PR middle-end/72747 (powerpc: wrong code generated for vec_splats in cascading assignment)

[gcc]

2016-11-02  Will Schmidt <will_schmidt@vnet.ibm.com>

Backport from trunk
2016-10-26  Will Schmidt <will_schmidt@vnet.ibm.com>

PR middle-end/72747
* gimplify.c (gimplify_init_constructor): Move emit of constructor
assignment to earlier in the if/else logic.

[gcc/testsuite]

2016-11-02  Will Schmidt  <will_schmidt@vnet.ibm.com>

Backport from trunk
2016-10-26  Will Schmidt <will_schmidt@vnet.ibm.com>

PR middle-end/72747
* c-c++-common/pr72747-1.c: New test.
* c-c++-common/pr72747-2.c: Likewise.

From-SVN: r241793

8 years agoFix linker detection in check_gc_sections_available
Rainer Orth [Wed, 2 Nov 2016 10:35:57 +0000 (10:35 +0000)] 
Fix linker detection in check_gc_sections_available

* lib/target-supports.exp (check_gc_sections_available): Use
-print-prog-name=ld to determine linker used.

From-SVN: r241785

8 years agoParallelize check-gnat
Rainer Orth [Wed, 2 Nov 2016 10:17:35 +0000 (10:17 +0000)] 
Parallelize check-gnat

Backport from mainline
2016-10-24  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc-interface/Make-lang.in (lang_checks_parallelized): New target.
(check_gnat_parallelize): Likewise.

From-SVN: r241782

8 years agoDaily bump.
GCC Administrator [Wed, 2 Nov 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241762

8 years agobackport: re PR fortran/71902 (Unneeded temporary on reallocatable character assignment)
Thomas Koenig [Tue, 1 Nov 2016 08:12:00 +0000 (08:12 +0000)] 
backport: re PR fortran/71902 (Unneeded temporary on reallocatable character assignment)

2016-10-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/71902
* frontend-passes.c (realloc_string_callback): Also check for the
lhs being deferred.  Name temporary variable "realloc_string".

2016-10-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/71902
* gfortran.dg/dependency_47.f90:  New test.
* gfortran.dg/dependency_49.f90:  New test.

From-SVN: r241732

8 years agoDaily bump.
GCC Administrator [Tue, 1 Nov 2016 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241728

8 years agobackport: re PR libfortran/78123 (Short reads with T edit descriptor not padding...
Jerry DeLisle [Mon, 31 Oct 2016 23:40:40 +0000 (23:40 +0000)] 
backport: re PR libfortran/78123 (Short reads with T edit descriptor not padding correctly)

2016-10-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from trunk
PR libgfortran/78123
* io/transfer.c (formatted_transfer_scalar_read): Clear seen_eor
only if we have tabbed to left of current position.
Backport from trunk
PR fortran/78123
* gfortran.dg/fmt_t_9.f: New test.

From-SVN: r241727

8 years agoDaily bump.
GCC Administrator [Mon, 31 Oct 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241692

8 years agoDaily bump.
GCC Administrator [Sun, 30 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241682

8 years agopa.h (BIGGEST_ALIGNMENT): Adjust comment.
John David Anglin [Sat, 29 Oct 2016 15:47:41 +0000 (15:47 +0000)] 
pa.h (BIGGEST_ALIGNMENT): Adjust comment.

* config/pa/pa.h (BIGGEST_ALIGNMENT): Adjust comment.
(MALLOC_ABI_ALIGNMENT): Define.

From-SVN: r241678

8 years agoDaily bump.
GCC Administrator [Sat, 29 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241670

8 years agoDaily bump.
GCC Administrator [Fri, 28 Oct 2016 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241638

8 years agoDaily bump.
GCC Administrator [Thu, 27 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241607

8 years agoDaily bump.
GCC Administrator [Wed, 26 Oct 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241543

8 years agoDaily bump.
GCC Administrator [Tue, 25 Oct 2016 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241500

8 years agobackport: re PR fortran/78021 (Wrong result with optimization on character constant)
Thomas Koenig [Mon, 24 Oct 2016 22:12:06 +0000 (22:12 +0000)] 
backport: re PR fortran/78021 (Wrong result with optimization on character constant)

2016-10-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/78021
* gfc_compare_functions:  Strings with different lengths in
argument lists compare unequal.

2016-10-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/78021
* gfortran.dg/string_length_3.f90:  New test.

From-SVN: r241498

8 years agore PR fortran/71895 (ICE in gfc_compare_derived_types, at fortran/interface.c:520)
Steven G. Kargl [Mon, 24 Oct 2016 21:36:49 +0000 (21:36 +0000)] 
re PR fortran/71895 (ICE in gfc_compare_derived_types, at fortran/interface.c:520)

2016-10-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71895
* interface.c (gfc_compare_derived_types):  Convert gcc_assert()
to a gfc_internal_error() to prevent an ICE.

2016-10-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/71895
* gfortran.dg/pr71895.f90: New test.

From-SVN: r241496

8 years agore PR fortran/61420 ([OOP] type-bound procedure returning a procedure pointer fails...
Paul Thomas [Mon, 24 Oct 2016 12:14:52 +0000 (12:14 +0000)] 
re PR fortran/61420 ([OOP] type-bound procedure returning a procedure pointer fails to compile)

2016-10-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61420
PR fortran/78013
* resolve.c (resolve_variable): Obtain the typespec for a
variable expression, when the variable is a function result
that is a procedure pointer.

2016-10-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/61420
PR fortran/78013
* gfortran.dg/proc_ptr_49.f90: New test.

From-SVN: r241474

8 years agobackport: re PR tree-optimization/77916 (ICE in verify_gimple_in_cfg: invalid (pointe...
Bill Schmidt [Mon, 24 Oct 2016 02:41:12 +0000 (02:41 +0000)] 
backport: re PR tree-optimization/77916 (ICE in verify_gimple_in_cfg: invalid (pointer) operands to plus/minus)

[gcc]

2016-10-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2016-10-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/77916
* gimple-ssa-strength-reduction.c (create_add_on_incoming_edge):
Don't allow a MINUS_EXPR for pointer arithmetic for either known
or unknown strides.
(record_increment): Increments of -1 for unknown strides just use
a multiply initializer like other negative values.
(analyze_increments): Remove stopgap solution for -1 increment
applied to pointer arithmetic.
(insert_initializers): Requirement of initializer for -1 should be
based on pointer-typedness of the candidate basis.

[gcc/testsuite]

2016-10-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2016-10-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR tree-optimization/77916
* gcc.dg/torture/pr77916.c: New.

From-SVN: r241462

8 years agoDaily bump.
GCC Administrator [Mon, 24 Oct 2016 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241458

8 years agoDaily bump.
GCC Administrator [Sun, 23 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241442

8 years agoDaily bump.
GCC Administrator [Sat, 22 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241434

8 years agoDaily bump.
GCC Administrator [Fri, 21 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241389

8 years agoPR78052 Define std::allocator<void>::{construct,destroy}
Jonathan Wakely [Thu, 20 Oct 2016 11:17:55 +0000 (12:17 +0100)] 
PR78052 Define std::allocator<void>::{construct,destroy}

PR libstdc++/78052
* include/bits/allocator.h (allocator<void>::construct)
(allocator<void>::destroy): Define.
* testsuite/20_util/allocator/void.cc: New test.

From-SVN: r241370

8 years agoDaily bump.
GCC Administrator [Thu, 20 Oct 2016 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241357

8 years agore PR target/77991 (ICE on x32 in plus_constant, at explow.c:87)
Uros Bizjak [Wed, 19 Oct 2016 15:00:06 +0000 (17:00 +0200)] 
re PR target/77991 (ICE on x32 in plus_constant, at explow.c:87)

PR target/77991
* config/i386/i386.c (legitimize_tls_address)
<case TLS_MODEL_INITIAL_EXEC>: For TARGET_64BIT || TARGET_ANY_GNU_TLS
convert dest to Pmode if different than Pmode.

testsuite/ChangeLog:

PR target/77991
* gcc.target/i386/pr77991.c: New test.

From-SVN: r241346

8 years agoPR77990 fix unique_ptr for non-copyable deleters
Jonathan Wakely [Wed, 19 Oct 2016 10:36:24 +0000 (11:36 +0100)] 
PR77990 fix unique_ptr for non-copyable deleters

PR libstdc++/77990
* include/bits/unique_ptr.h (unique_ptr::unique_ptr(pointer)): Set
pointer member after value-initialization of tuple.
* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-errors.
* testsuite/20_util/unique_ptr/cons/77990.cc: New test.

From-SVN: r241337

8 years agoDaily bump.
GCC Administrator [Wed, 19 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241324

8 years agobackport: tree-vrp.c (vrp_intersect_ranges_1): Allocate bitmap before copying.
Kugan Vivekanandarajah [Tue, 18 Oct 2016 09:38:25 +0000 (09:38 +0000)] 
backport: tree-vrp.c (vrp_intersect_ranges_1): Allocate bitmap before copying.

2016-10-18  Kugan Vivekanandarajah  <kuganv@linaro.org>

Backport from mainline
2016-10-11  Kugan Vivekanandarajah  <kuganv@linaro.org>

* tree-vrp.c (vrp_intersect_ranges_1): Allocate bitmap before
  copying.

From-SVN: r241298

8 years agoDaily bump.
GCC Administrator [Tue, 18 Oct 2016 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r241290

8 years agobackport: re PR fortran/77978 (stop codes misinterpreted in both f2003 and f2008)
Steven G. Kargl [Mon, 17 Oct 2016 23:22:54 +0000 (23:22 +0000)] 
backport: re PR fortran/77978 (stop codes misinterpreted in both f2003 and f2008)

2016-10-17  Steven G. Kargl  <kargl@gcc.gnu.org>

Backport from trunk
PR fortran/77978
* match.c (gfc_match_stopcode): Fix error reporting for several
deficiencies in matching stop-codes.

2016-10-17  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/77978
* gfortran.dg/pr77978_1.f90: New test.
* gfortran.dg/pr77978_2.f90: Ditto.
* gfortran.dg/pr77978_3.f90: Ditto.

From-SVN: r241286

8 years agoUpdate docs on libstdc++ source-code layout
Jonathan Wakely [Mon, 17 Oct 2016 17:03:50 +0000 (18:03 +0100)] 
Update docs on libstdc++ source-code layout

Backport from mainline:
2016-10-10  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/appendix_contributing.xml (contrib.organization):
Replace <literallayout> with nested <variablelist> elements. Update
some more outdated text.
* doc/html/*: Regenerate.

Backport from mainline:
2016-10-10  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/appendix_contributing.xml (contrib.organization):
Describe other subdirectories and add markup. Remove outdated
reference to check-script target.

From-SVN: r241270

8 years agoChange test to use VERIFY not assert
Jonathan Wakely [Mon, 17 Oct 2016 17:03:44 +0000 (18:03 +0100)] 
Change test to use VERIFY not assert

Backport from mainline:
2016-10-13  Jonathan Wakely  <jwakely@redhat.com>

* testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
instead of assert.

From-SVN: r241269

8 years agoRemove redundant const qualifiers from string_view
Jonathan Wakely [Mon, 17 Oct 2016 17:03:40 +0000 (18:03 +0100)] 
Remove redundant const qualifiers from string_view

Backport from mainline:
2016-10-11  Jonathan Wakely  <jwakely@redhat.com>

* include/experimental/string_view (basic_string_view::_S_compare):
Remove redundant const from return type.
* include/std/string_view (basic_string_view:_S_compare): Likewise.

From-SVN: r241268

8 years agoUse normal mode containers in searchers
Jonathan Wakely [Mon, 17 Oct 2016 17:03:35 +0000 (18:03 +0100)] 
Use normal mode containers in searchers

Backport from mainline:
2016-10-13  Jonathan Wakely  <jwakely@redhat.com>

* include/experimental/functional (boyer_moore_searcher)
(__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers
with _GLIBCXX_STD_C.

From-SVN: r241267