]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
6 years agoDaily bump.
GCC Administrator [Tue, 2 Jul 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272913

6 years agoDaily bump.
GCC Administrator [Mon, 1 Jul 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272836

6 years agoDaily bump.
GCC Administrator [Sun, 30 Jun 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272828

6 years agotrans.c (mark_visited_r): Set TYPE_SIZES_GIMPLIFIED on the main variant of a type...
Eric Botcazou [Sat, 29 Jun 2019 07:39:11 +0000 (07:39 +0000)] 
trans.c (mark_visited_r): Set TYPE_SIZES_GIMPLIFIED on the main variant of a type, if any.

* gcc-interface/trans.c (mark_visited_r): Set TYPE_SIZES_GIMPLIFIED on
the main variant of a type, if any.

From-SVN: r272818

6 years agodecl.c (set_nonaliased_component_on_array_type): Add missing guard for the presence...
Eric Botcazou [Sat, 29 Jun 2019 07:32:09 +0000 (07:32 +0000)] 
decl.c (set_nonaliased_component_on_array_type): Add missing guard for the presence of TYPE_CANONICAL.

* gcc-interface/decl.c (set_nonaliased_component_on_array_type): Add
missing guard for the presence of TYPE_CANONICAL.
(set_reverse_storage_order_on_array_type): Likewise.

From-SVN: r272814

6 years agoDaily bump.
GCC Administrator [Sat, 29 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272805

6 years agore PR tree-optimization/90949 (null pointer check removed)
Jeff Law [Fri, 28 Jun 2019 21:01:56 +0000 (15:01 -0600)] 
re PR tree-optimization/90949 (null pointer check removed)

PR tree-optimization/90949
* tree-ssa-copy.c (fini_copy_prop): Use reset_flow_sensitive_info.
* tree-ssanames.c (reset_flow_sensitive_info): Reset non-null state.

* gcc.c-torture/execute/pr90949.c: New test.

From-SVN: r272798

6 years agoDaily bump.
GCC Administrator [Fri, 28 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272771

6 years ago[PR 90939] Remove outdated assert in ipcp_bits_lattice::meet_with
Martin Jambor [Thu, 27 Jun 2019 11:26:52 +0000 (13:26 +0200)] 
[PR 90939] Remove outdated assert in ipcp_bits_lattice::meet_with

2019-06-27  Martin Jambor  <mjambor@suse.cz>

PR ipa/90939
* ipa-cp.c (ipcp_bits_lattice::meet_with): Remove assert.

From-SVN: r272747

6 years agoDaily bump.
GCC Administrator [Thu, 27 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272720

6 years agoPR libstdc++/90634 reduce allocations in filesystem::path construction
Jonathan Wakely [Wed, 26 Jun 2019 15:12:15 +0000 (16:12 +0100)] 
PR libstdc++/90634 reduce allocations in filesystem::path construction

Backport from mainline
2019-05-28  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/90634
* include/experimental/bits/fs_path.h (path::path(path&&)): Only call
_M_split_cmpts() for a path with multiple components.
(path::_S_is_dir_sep()): Add missing 'static' keyword to function.
* src/filesystem/path.cc (path::_M_split_cmpts()): Count number of
components and reserve space in vector. Return early when there is
only one component.
* testsuite/experimental/filesystem/path/construct/90634.cc: New test.

From-SVN: r272697

6 years agoDaily bump.
GCC Administrator [Wed, 26 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272662

6 years agoDaily bump.
GCC Administrator [Tue, 25 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272629

6 years agoDaily bump.
GCC Administrator [Mon, 24 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272610

6 years agoDaily bump.
GCC Administrator [Sun, 23 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272596

6 years agoDaily bump.
GCC Administrator [Sat, 22 Jun 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272580

6 years agobackport: re PR fortran/90937 (ICE: in gfc_get_symbol_decl, at fortran/trans-decl...
Thomas Koenig [Fri, 21 Jun 2019 19:32:23 +0000 (19:32 +0000)] 
backport: re PR fortran/90937 (ICE: in gfc_get_symbol_decl, at fortran/trans-decl.c:1538)

2019-06-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/90937
* trans-types.c (get_formal_from_actual_arglist): Get symbol from
current namespace so it will be freed later.  If symbol is of type
character, get an empty character length.

2019-06-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/90937
* gfortran.dg/external_procedure_4.f90: New test.

From-SVN: r272566

6 years agoDaily bump.
GCC Administrator [Fri, 21 Jun 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272535

6 years agoDaily bump.
GCC Administrator [Thu, 20 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272492

6 years agoDaily bump.
GCC Administrator [Wed, 19 Jun 2019 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272461

6 years agoDaily bump.
GCC Administrator [Tue, 18 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272401

6 years agoDaily bump.
GCC Administrator [Mon, 17 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272367

6 years agore PR middle-end/64242 (Longjmp expansion incorrect)
John David Anglin [Sun, 16 Jun 2019 21:49:19 +0000 (21:49 +0000)] 
re PR middle-end/64242 (Longjmp expansion incorrect)

PR middle-end/64242
* config/pa/pa.md (nonlocal_goto): Restore frame pointer last.  Add
frame clobbers and schedule block.
(builtin_longjmp): Likewise.

From-SVN: r272364

6 years agoDaily bump.
GCC Administrator [Sun, 16 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272334

6 years agoDaily bump.
GCC Administrator [Sat, 15 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272315

6 years agoDaily bump.
GCC Administrator [Fri, 14 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272277

6 years agore PR fortran/90870 (new test case gfortran.dg/deferred_character_33.f90 fails)
Thomas Koenig [Thu, 13 Jun 2019 17:00:22 +0000 (17:00 +0000)] 
re PR fortran/90870 (new test case gfortran.dg/deferred_character_33.f90 fails)

2019-06-13  Thomas Koenig  <tkoenig@gcc.gnu.org>

    PR fortran/90870
    * gfortran.dg/deferred_character_33.f90: Remove failing test.
    * gfortran.dg/deferred_character_33a.f90: Likewise.

From-SVN: r272249

6 years agoDaily bump.
GCC Administrator [Thu, 13 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272225

6 years agobackport: re PR fortran/90744 (Bogus length for character temporaries passed to exter...
Thomas Koenig [Wed, 12 Jun 2019 20:08:38 +0000 (20:08 +0000)] 
backport: re PR fortran/90744 (Bogus length for character temporaries passed to external procedures since r268992)

2019-06-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
    Tomáš Trnka  <trnka@scm.com>

    Backport from trunk
    PR fortran/90744
    * trans-types.c (get_formal_from_actual_arglist): Unset typespec
    flags which make no sense for procedures without explicit
    interface.

2019-06-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
    Tomáš Trnka  <trnka@scm.com>

    Backport from trunk
    PR fortran/90744
    * gfortran.dg/deferred_character_33.f90: New test.
    * gfortran.dg/deferred_character_33a.f90: New test.

Co-Authored-By: Tomáš Trnka <trnka@scm.com>
From-SVN: r272214

6 years agoDaily bump.
GCC Administrator [Wed, 12 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272174

6 years agoDaily bump.
GCC Administrator [Tue, 11 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272138

6 years agoDaily bump.
GCC Administrator [Mon, 10 Jun 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272099

6 years agoDaily bump.
GCC Administrator [Sun, 9 Jun 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272086

6 years agoDaily bump.
GCC Administrator [Sat, 8 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272064

6 years agoDaily bump.
GCC Administrator [Fri, 7 Jun 2019 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r272024

6 years agoDaily bump.
GCC Administrator [Thu, 6 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271979

6 years agoDaily bump.
GCC Administrator [Wed, 5 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271941

6 years agoDarwin, backport fix for regressed testcase.
Iain Sandoe [Tue, 4 Jun 2019 19:08:03 +0000 (19:08 +0000)] 
Darwin, backport fix for regressed testcase.

2019-06-04  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline
2019-05-02  Iain Sandoe  <iain@sandoe.co.uk>

* g++.dg/ext/instantiate2.C: Remove special-casing for Darwin.

From-SVN: r271925

6 years agoDaily bump.
GCC Administrator [Tue, 4 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271896

6 years agoDarwin, backport fixes for PR 89864 (with 90379 included)
Iain Sandoe [Mon, 3 Jun 2019 19:13:46 +0000 (19:13 +0000)] 
Darwin, backport fixes for PR 89864 (with 90379 included)

2019-06-03  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-05-11  Iain Sandoe  <iain@sandoe.co.uk>

PR bootstrap/89864
* inclhack.def (darwin_ucred__Atomic): Do not supply test_text
for wrap fixes.
* fixincl.x: Regenerated.

Backport from mainline.
2019-04-18  Erik Schnetter  <schnetter@gmail.com>
    Jakub Jelinek  <jakub@redhat.com>
    Iain Sandoe  <iain@sandoe.co.uk>

PR bootstrap/89864
* inclhack.def (darwin_ucred__Atomic): New, work around _Atomic keyword
use in headers included by C++.
* fixincl.x: Regenerated.

From-SVN: r271881

6 years agoDaily bump.
GCC Administrator [Mon, 3 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271849

6 years agoDaily bump.
GCC Administrator [Sun, 2 Jun 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271840

6 years agoDaily bump.
GCC Administrator [Sat, 1 Jun 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271829

6 years agoDaily bump.
GCC Administrator [Fri, 31 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271792

6 years agoDaily bump.
GCC Administrator [Thu, 30 May 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271757

6 years agoDaily bump.
GCC Administrator [Wed, 29 May 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271723

6 years agoBackport r270476
Martin Liska [Tue, 28 May 2019 11:55:05 +0000 (13:55 +0200)] 
Backport r270476

2019-05-28  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-04-20  Sandra Loosemore  <sandra@codesourcery.com>

* g++.dg/ipa/pr89009.C: Add dg-require-effective-target fpic.

From-SVN: r271699

6 years agoBackport r269278
Martin Liska [Tue, 28 May 2019 11:54:45 +0000 (13:54 +0200)] 
Backport r269278

2019-05-28  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-02-28  John David Anglin  <danglin@gcc.gnu.org>

PR testsuite/89441
* g++.dg/ipa/pr89009.C: Update symbol visibility.

From-SVN: r271698

6 years agoBackport r268762 (test-suite)
Martin Liska [Tue, 28 May 2019 11:54:33 +0000 (13:54 +0200)] 
Backport r268762 (test-suite)

2019-05-28  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-02-11  Martin Liska  <mliska@suse.cz>

PR ipa/89009
* g++.dg/ipa/pr89009.C: New test.

From-SVN: r271697

6 years agotrans.c (walk_nesting_tree): New static function.
Eric Botcazou [Tue, 28 May 2019 08:09:39 +0000 (08:09 +0000)] 
trans.c (walk_nesting_tree): New static function.

* gcc-interface/trans.c (walk_nesting_tree): New static function.
(finalize_nrv): Use it to walk the entire nesting tree.

From-SVN: r271688

6 years agoDaily bump.
GCC Administrator [Tue, 28 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271674

6 years agoDaily bump.
GCC Administrator [Mon, 27 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271641

6 years agoDaily bump.
GCC Administrator [Sun, 26 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271624

6 years agoDaily bump.
GCC Administrator [Sat, 25 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271615

6 years agore PR target/90530 (Invalid SUBREG insn generated by reload)
John David Anglin [Fri, 24 May 2019 23:20:25 +0000 (23:20 +0000)] 
re PR target/90530 (Invalid SUBREG insn generated by reload)

PR target/90530
* config/pa/pa.c (pa_cannot_change_mode_class): Accept mode changes
from DImode to SImode in floating-point registers on 64-bit target.
* config/pa/pa.md (umulsidi3): Change nonimmediate_operand to
register_operand in xmpyu patterns.

From-SVN: r271614

6 years agoDaily bump.
GCC Administrator [Fri, 24 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271585

6 years agoPR libstdc++/89466 avoid slow xsltproc command in configure
Jonathan Wakely [Thu, 23 May 2019 15:34:42 +0000 (16:34 +0100)] 
PR libstdc++/89466 avoid slow xsltproc command in configure

Certain broken versions of xsltproc ignore the --nonet option and will
attempt to fetch the docbook stylesheet from the WWW when it isn't in
the local XML catalog.

This patch checks for the local stylesheet directory first, and doesn't
use xsltproc if no local stylesheets are found. Checking for the local
directory is done using xmlcatalog if available, only checking the
hardcoded list of directories if xmlcatalog fails. The right directory
for Suse is added to the hardcoded list.

This should avoid doing an xsltproc check that would need to download
the stylesheet, so no network connection is made even if a broken
xsltproc is present.

Backport from mainline
2019-02-27  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/89466
* acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Reorder check for local
stylesheet directories before check for xsltproc. Try to use
xmlcatalog to find local stylesheet directory before trying hardcoded
paths. Add path used by suse to hardcoded paths. Adjust xsltproc
check to look for the same stylesheet as doc/Makefile.am uses. Don't
use xsltproc if xmlcatalog fails to find a local stylesheet.
* configure.ac: Check for xmlcatalog.
* Makefile.in: Regenerate.
* configure: Likewise.
* doc/Makefile.in: Likewise.
* include/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* python/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* src/c++11/Makefile.in: Likewise.
* src/c++17/Makefile.in: Likewise.
* src/c++98/Makefile.in: Likewise.
* src/filesystem/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.

From-SVN: r271570

6 years agoPR libstdc++/88740 Print assertion messages to stderr
Jonathan Wakely [Thu, 23 May 2019 15:34:37 +0000 (16:34 +0100)] 
PR libstdc++/88740 Print assertion messages to stderr

Backport from mainline
2019-01-22  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/88740
* testsuite/util/testsuite_hooks.h [stderr] (VERIFY): Use fprintf to
write to stderr instead of using printf.

From-SVN: r271569

6 years agoMake any_cast compare typeinfo as well as function pointers
Jonathan Wakely [Thu, 23 May 2019 15:09:02 +0000 (16:09 +0100)] 
Make any_cast compare typeinfo as well as function pointers

It's possible for the function pointer comparison to fail even though
the type is correct, because the function could be defined multiple
times with different addresses when shared libraries are in use.

Retain the function pointer check for the common case where the check
succeeds, but compare typeinfo (if RTTI is enabled) if the first check
fails.

Backport from mainline
2019-05-23  Jonathan Wakely  <jwakely@redhat.com>

* include/experimental/any (__any_caster): Use RTTI if comparing
addresses fails, to support non-unique addresses in shared libraries.
* include/std/any (__any_caster): Likewise.
* testsuite/experimental/any/misc/any_cast_neg.cc: Use 0 for dg-error
line number.

From-SVN: r271566

6 years agoPR libstdc++/90220 Fix any_cast for non-object types
Jonathan Wakely [Thu, 23 May 2019 15:08:58 +0000 (16:08 +0100)] 
PR libstdc++/90220 Fix any_cast for non-object types

Backport from mainline
2019-04-24  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/90220 (partial)
* include/std/any (any_cast<T>(any*), any_cast<T>(const any*)): Do
not attempt ill-formed static_cast to pointers to non-object types.
* testsuite/20_util/any/misc/any_cast.cc: Test std::any_cast with
function types.

Backport from mainline
2019-04-24  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/90220
* include/std/any (__any_caster): Use remove_cv_t instead of decay_t.
Avoid a runtime check for types that can never be stored in std::any.
* testsuite/20_util/any/misc/any_cast.cc: Test std::any_cast with
array types.

Backport from mainline
2019-05-23  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/90220
* include/experimental/any (__any_caster): Constrain to only be
callable for object types. Use remove_cv_t instead of decay_t.
If the type decays or isn't copy constructible, compare the manager
function to a dummy specialization.
(__any_caster): Add overload constrained for non-object types.
(any::_Manager_internal<_Op>): Add dummy specialization.
* testsuite/experimental/any/misc/any_cast.cc: Test function types
and array types.

From-SVN: r271565

6 years agoFix missing or incorrect feature test macros
Jonathan Wakely [Thu, 23 May 2019 15:08:52 +0000 (16:08 +0100)] 
Fix missing or incorrect feature test macros

Backported from mainline
2019-01-15  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/status_cxx2017.xml: Document P0032R3 and P0307R2
status.
* include/bits/stl_uninitialized.h (__cpp_lib_raw_memory_algorithms):
Define.
* include/std/any (__cpp_lib_any): Define as 201606L, because P0032R3
changes are supported.
* include/std/optional (__cpp_lib_optional): Likewise.
* include/std/variant (__cpp_lib_variant): Likewise.

From-SVN: r271564

6 years agobackport: re PR target/90547 (ICE in gen_lowpart_general, at rtlhooks.c:63)
Uros Bizjak [Thu, 23 May 2019 04:55:40 +0000 (06:55 +0200)] 
backport: re PR target/90547 (ICE in gen_lowpart_general, at rtlhooks.c:63)

Backported from mainline
2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

* config/i386/cpuid.h (__cpuid): For 32bit targets, zero
%ebx and %ecx bafore calling cpuid with leaf 1 or
non-constant leaf argument.

2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

PR target/90547
* config/i386/i386.md (anddi_1 to andsi_1_zext splitter):
Avoid calling gen_lowpart with CONST operand.

testsuite/ChangeLog:

Backported from mainline
2019-05-21  Uroš Bizjak  <ubizjak@gmail.com>

PR target/90547
* gcc.target/i386/pr90547.c: New test.

From-SVN: r271537

6 years agoDaily bump.
GCC Administrator [Thu, 23 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271531

6 years agoDaily bump.
GCC Administrator [Wed, 22 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271493

6 years agoDaily bump.
GCC Administrator [Tue, 21 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271446

6 years agobackport: re PR middle-end/89765 (Multiple problems with vec-insert implementation...
Kelvin Nilsen [Mon, 20 May 2019 20:07:12 +0000 (20:07 +0000)] 
backport: re PR middle-end/89765 (Multiple problems with vec-insert implementation on PowerPC)

gcc/ChangeLog:

2019-05-20  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline.
2019-05-07  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/89765
* config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
In handling of ALTIVEC_BUILTIN_VEC_INSERT, use modular arithmetic
to compute vector element selector for both constant and variable
operands.

gcc/testsuite/ChangeLog:

2019-05-20  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline.
2019-05-07  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/89765
* gcc.target/powerpc/pr89765-mc.c: New test.
* gcc.target/powerpc/vsx-builtin-10c.c: New test.
* gcc.target/powerpc/vsx-builtin-10d.c: New test.
* gcc.target/powerpc/vsx-builtin-11c.c: New test.
* gcc.target/powerpc/vsx-builtin-11d.c: New test.
* gcc.target/powerpc/vsx-builtin-12c.c: New test.
* gcc.target/powerpc/vsx-builtin-12d.c: New test.
* gcc.target/powerpc/vsx-builtin-13c.c: New test.
* gcc.target/powerpc/vsx-builtin-13d.c: New test.
* gcc.target/powerpc/vsx-builtin-14c.c: New test.
* gcc.target/powerpc/vsx-builtin-14d.c: New test.
* gcc.target/powerpc/vsx-builtin-15c.c: New test.
* gcc.target/powerpc/vsx-builtin-15d.c: New test.
* gcc.target/powerpc/vsx-builtin-16c.c: New test.
* gcc.target/powerpc/vsx-builtin-16d.c: New test.
* gcc.target/powerpc/vsx-builtin-17c.c: New test.
* gcc.target/powerpc/vsx-builtin-17d.c: New test.
* gcc.target/powerpc/vsx-builtin-18c.c: New test.
* gcc.target/powerpc/vsx-builtin-18d.c: New test.
* gcc.target/powerpc/vsx-builtin-19c.c: New test.
* gcc.target/powerpc/vsx-builtin-19d.c: New test.
* gcc.target/powerpc/vsx-builtin-20c.c: New test.
* gcc.target/powerpc/vsx-builtin-20d.c: New test.
* gcc.target/powerpc/vsx-builtin-9c.c: New test.
* gcc.target/powerpc/vsx-builtin-9d.c: New test.

From-SVN: r271436

6 years agoDaily bump.
GCC Administrator [Mon, 20 May 2019 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271391

6 years agodarwin - fix PR86215 by backporting 80556.
Iain Sandoe [Sun, 19 May 2019 16:03:17 +0000 (16:03 +0000)] 
darwin - fix PR86215 by backporting 80556.

The backport had been missed.

2019-01-03  Iain Sandoe  <iain@sandoe.co.uk>

PR target/86215
Backport from mainline
2017-09-25  Iain Sandoe  <iain@codesourcery.com>

PR target/80556
* config/i386/darwin.h (REAL_LIB_SPEC): New; put libSystem ahead
of libgcc_eh for m64.
* config/i386/darwin64.h: Likewise.

From-SVN: r271381

6 years agoDaily bump.
GCC Administrator [Sun, 19 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271372

6 years agoDaily bump.
GCC Administrator [Sat, 18 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271365

6 years agoDaily bump.
GCC Administrator [Fri, 17 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271304

6 years agoDaily bump.
GCC Administrator [Thu, 16 May 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271272

6 years agobackport: re PR target/61976 (aix64: Data corruption in struct passed by value)
David Edelsohn [Wed, 15 May 2019 17:11:31 +0000 (17:11 +0000)] 
backport: re PR target/61976 (aix64: Data corruption in struct passed by value)

        Backport from mainline
        2019-04-11  David Edelsohn  <dje.gcc@gmail.com>
        * xcoffout.h (xcoff_private_rodata_section_name): Declare.
        * xcoffout.c (xcoff_private_rodata_section_name): Define.
        * config/rs6000/rs6000.c (rs6000_xcoff_asm_init_sections): Create
        read_only_private_data_section using coff_private_rodata_section_name.
        (rs6000_xcoff_file_start): Generate coff_private_rodata_section_name.

        2018-12-04  David Edelsohn  <dje.gcc@gmail.com>
        2018-12-13  David Edelsohn  <dje.gcc@gmail.com>
        PR target/61976
        * config/rs6000/rs6000.c (rs6000_function_arg): Don't pass aggregates
        in FPRs on AIX. Ensure type is non-NULL.
        (rs6000_arg_partial_bytes): Same.

From-SVN: r271257

6 years agoDaily bump.
GCC Administrator [Wed, 15 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271194

6 years ago[RTEMS] Change multilibs for ARM
Sebastian Huber [Tue, 14 May 2019 05:15:38 +0000 (05:15 +0000)] 
[RTEMS] Change multilibs for ARM

Account for Cortex-M3 Errata 602117.  The -mfix-cortex-m3-ldrd option is
enabled by default, if -mcpu=cortex-m3 is used.

gcc/

* config/arm/t-rtems: Replace -march=armv7-m multilibs with
-mcpu=cortex-m3 and -mcpu=cortex-m4 multilibs.

From-SVN: r271148

6 years agoDaily bump.
GCC Administrator [Tue, 14 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271141

6 years agobackport: re PR target/89424 (__builtin_vec_ext_v1ti (v, i) results in ICE with varia...
Kelvin Nilsen [Mon, 13 May 2019 21:27:29 +0000 (21:27 +0000)] 
backport: re PR target/89424 (__builtin_vec_ext_v1ti (v, i) results in ICE with variable i (RS6000))

gcc/ChangeLog:

2019-05-13  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline.
2019-05-06  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/89424
* config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add
handling of V1TImode.

gcc/testsuite/ChangeLog:

2019-05-13  Kelvin Nilsen  <kelvin@gcc.gnu.org>

Backport from mainline.
2019-05-06  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/89424
* gcc.target/powerpc/pr89424-0.c: New test.
* gcc.target/powerpc/vsx-builtin-13a.c: Define macro PR89424 to
enable testing of newly patched capability.
* gcc.target/powerpc/vsx-builtin-13b.c: Likewise.
* gcc.target/powerpc/vsx-builtin-20a.c: Likewise.
* gcc.target/powerpc/vsx-builtin-20b.c: Likewise.

From-SVN: r271137

6 years agoDaily bump.
GCC Administrator [Mon, 13 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271112

6 years agoDaily bump.
GCC Administrator [Sun, 12 May 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271102

6 years agoDaily bump.
GCC Administrator [Sat, 11 May 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271084

6 years agoDaily bump.
GCC Administrator [Fri, 10 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271048

6 years agoDaily bump.
GCC Administrator [Thu, 9 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r271023

6 years agoPR libstdc++/90105 make forward_list::sort stable
Jonathan Wakely [Wed, 8 May 2019 12:17:26 +0000 (13:17 +0100)] 
PR libstdc++/90105 make forward_list::sort stable

While testing the fix I also discovered that operator== assumes the
elements are comparable with operator!= which is not required.

Backport from mainline
2019-04-17  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/90105
* include/bits/forward_list.tcc (operator==): Do not use operator!= to
compare elements.
(forward_list<T, A>::sort(Comp)): When elements are equal take the one
earlier in the list, so that sort is stable.
* testsuite/23_containers/forward_list/operations/90105.cc: New test.
* testsuite/23_containers/forward_list/comparable.cc: Test with
types that meet the minimum EqualityComparable and LessThanComparable
requirements. Remove irrelevant comment.

From-SVN: r271010

6 years agoPR libstdc++/89629 fix _Hash_bytes for lengths > INT_MAX
Jonathan Wakely [Wed, 8 May 2019 12:17:20 +0000 (13:17 +0100)] 
PR libstdc++/89629 fix _Hash_bytes for lengths > INT_MAX

Backport from mainline
2019-03-11  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/89629
* libsupc++/hash_bytes.cc [__SIZEOF_SIZE_T__ == 8] (_Hash_bytes):
Use correct type for len_aligned.
* testsuite/20_util/hash/89629.cc: New test.

From-SVN: r271009

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

From-SVN: r270994

6 years agoFix make install-gcc-specs with empty GCC_SPECS_FILES
Rainer Orth [Tue, 7 May 2019 15:24:43 +0000 (15:24 +0000)] 
Fix make install-gcc-specs with empty GCC_SPECS_FILES

* gcc-interface/Makefile.in (install-gcc-specs): Use foreach.
Honor DESTDIR.

From-SVN: r270950

6 years agoFix output_constructor_bitfield handling of wide bitfields (PR89037)
Richard Sandiford [Tue, 7 May 2019 08:49:05 +0000 (08:49 +0000)] 
Fix output_constructor_bitfield handling of wide bitfields (PR89037)

The testcase was failing because we were trying to access
TREE_INT_CST_ELT (x, 1) of a 128-bit integer that was small enough
to need only a single element.

2019-05-07  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
Backport from mainline:
2019-01-25  Richard Sandiford  <richard.sandiford@arm.com>

PR middle-end/89037
* varasm.c (output_constructor_bitfield): Use wi::extract_uhwi
instead of accessing TREE_INT_CST_ELT directly.

gcc/testsuite/
Backport from mainline:
2019-01-25  Richard Sandiford  <richard.sandiford@arm.com>

PR middle-end/89037
* gcc.dg/pr89037.c: New test.

From-SVN: r270936

6 years agoDaily bump.
GCC Administrator [Tue, 7 May 2019 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270930

6 years agoDaily bump.
GCC Administrator [Mon, 6 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270889

6 years ago[multiple changes]
Thomas Koenig [Sun, 5 May 2019 14:01:51 +0000 (14:01 +0000)] 
[multiple changes]

2019-05-05  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/90344
* frontend-passes.c (create_var): Bring into sync with gcc 8.

2019-05-05  Thomas Koenig <tkoenig@gcc.gnu.org>

PR fortran/90344
* gfortran.dg/pr90344.f90: New test

From-SVN: r270883

6 years agoDaily bump.
GCC Administrator [Sun, 5 May 2019 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270878

6 years agoDaily bump.
GCC Administrator [Sat, 4 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270864

6 years agoDaily bump.
GCC Administrator [Fri, 3 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270828

6 years agoDaily bump.
GCC Administrator [Thu, 2 May 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270783

6 years ago[Patch AArch64] Add __ARM_FEATURE_ATOMICS
Ramana Radhakrishnan [Wed, 1 May 2019 15:27:40 +0000 (15:27 +0000)] 
[Patch AArch64] Add __ARM_FEATURE_ATOMICS

This keeps coming up repeatedly and the ACLE has finally added
__ARM_FEATURE_ATOMICS for the LSE feature in GCC. This is now part of
the latest ACLE release
(https://developer.arm.com/docs/101028/latest/5-feature-test-macros)

I know it's late for GCC-9 but this is a simple macro which need not
wait  for another year.

Ok for trunk and to backport to all release branches ?

Tested with a simple build and a smoke test.

Backport from mainline.
PR target/86538
* config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
__ARM_FEATURE_ATOMICS

From-SVN: r270770

6 years agoDaily bump.
GCC Administrator [Wed, 1 May 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270760

6 years agoPR target/90075 Prefer bsl/bit/bif for copysignf. (backport GCC-7)
Srinath Parvathaneni [Tue, 30 Apr 2019 09:31:04 +0000 (09:31 +0000)] 
PR target/90075 Prefer bsl/bit/bif for copysignf. (backport GCC-7)

This patch is to fix the ICE caused by expand pattern of copysignf
builtin. This is a back port to r267019 of trunk.

gcc:

2019-04-30  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

PR target/90075
* config/aarch64/iterators.md (V_INT_EQUIV): Add mode for
integer equivalent of floating point values.

Backport from mainline
2018-12-11  Richard Earnshaw  <Richard.Earnshaw@arm.com>

PR target/37369
* config/aarch64/iterators.md (sizem1): Add sizes for
SFmode and DFmode.
(Vbtype): Add SFmode mapping.
* config/aarch64/aarch64.md (copysigndf3, copysignsf3): Delete.
(copysign<GPF:mode>3): New expand pattern.
(copysign<GPF:mode>3_insn): New insn pattern.

testsuite:

2019-04-30  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

PR target/90075
* gcc.target/aarch64/pr90075.c: New test.

From-SVN: r270684

6 years agoDaily bump.
GCC Administrator [Tue, 30 Apr 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270669

6 years agoDaily bump.
GCC Administrator [Mon, 29 Apr 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270634

6 years agoDaily bump.
GCC Administrator [Sun, 28 Apr 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r270627