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

From-SVN: r274034

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

From-SVN: r273990

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

From-SVN: r273957

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

From-SVN: r273917

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

From-SVN: r273893

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

From-SVN: r273861

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

From-SVN: r273847

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

From-SVN: r273840

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

From-SVN: r273820

6 years agore PR plugins/90924 (lto-plugin/lto-plugin.c heap memory corruption due to insufficie...
Richard Biener [Thu, 25 Jul 2019 10:50:47 +0000 (10:50 +0000)] 
re PR plugins/90924 (lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization.)

2019-07-25  Richard Biener  <rguenther@suse.de>

PR lto/90924
Backport from mainline
2019-07-12  Ren Kimura  <rkx1209dev@gmail.com>

* simple-object-elf.c (simple_object_elf_match): Check zero value
shstrndx.

From-SVN: r273795

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

From-SVN: r273779

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

From-SVN: r273750

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

From-SVN: r273709

6 years agoBackport r273660
Martin Liska [Mon, 22 Jul 2019 09:38:26 +0000 (11:38 +0200)] 
Backport r273660

2019-07-22  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-07-22  Martin Liska  <mliska@suse.cz>

PR driver/91172
* opts-common.c (decode_cmdline_option): Decode
argument of -Werror and check it for a wrong language.
* opts-global.c (complain_wrong_lang): Remove such case.
2019-07-22  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-07-22  Martin Liska  <mliska@suse.cz>

PR driver/91172
* gcc.dg/pr91172.c: New test.

From-SVN: r273666

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

From-SVN: r273653

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

From-SVN: r273637

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

From-SVN: r273612

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

From-SVN: r273587

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

From-SVN: r273559

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

From-SVN: r273538

6 years ago[ARM] Fix PR89222
Wilco Dijkstra [Tue, 16 Jul 2019 13:13:26 +0000 (13:13 +0000)] 
[ARM] Fix PR89222

The GCC optimizer can generate symbols with non-zero offset from simple
if-statements. Bit zero is used for the Arm/Thumb state bit, so relocations
with offsets fail if it changes bit zero and the relocation forces bit zero
to true.  The fix is to disable offsets on function pointer symbols.

    gcc/
PR target/89222
* config/arm/arm.md (movsi): Use targetm.cannot_force_const_mem
to decide when to split off a non-zero offset from a symbol.
* config/arm/arm.c (arm_cannot_force_const_mem): Disallow offsets
in function symbols.

    testsuite/
PR target/89222
* gcc.target/arm/pr89222.c: Add new test.

From-SVN: r273527

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

From-SVN: r273502

6 years agoS/390: Fix vector shift count operand
Andreas Krebbel [Mon, 15 Jul 2019 14:31:37 +0000 (14:31 +0000)] 
S/390: Fix vector shift count operand

We currently use subst definitions to handle the different variants of shift
count operands. Unfortunately, in the vector shift pattern the shift count
operand is used directly. Without it being adjusted for the 'subst' variants the
displacement value is omitted resulting in a wrong shift count being applied.

This patch needs to be applied to older branches as well.

gcc/ChangeLog:

2019-07-15  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2019-07-01  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/s390/vector.md: Fix shift count operand printing.

gcc/testsuite/ChangeLog:

2019-07-15  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2019-07-01  Andreas Krebbel  <krebbel@linux.ibm.com>

* gcc.target/s390/vector/vec-shift-2.c: New test.

From-SVN: r273494

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

From-SVN: r273485

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

From-SVN: r273471

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

From-SVN: r273460

6 years agoTurn off ipa-ra in builtins test (PR91059)
Wilco Dijkstra [Fri, 12 Jul 2019 17:15:13 +0000 (17:15 +0000)] 
Turn off ipa-ra in builtins test (PR91059)

The gcc.c-torture/execute/builtins/lib directory contains a reimplementation
of many C library string functions, which causes non-trivial register allocation
bugs with LTO and static linked libraries.  To fix this long-standing test issue,
turn off ipa-ra which avoids the register corruption across calls.  All builtin
torture tests now pass on aarch64-none-elf.  Committed as obvious.
See PR78529 for more details.

    testsuite/
PR testsuite/78529
* gcc.c-torture/execute/builtins/builtins.exp: Add -fno-ipa-ra.

From-SVN: r273453

6 years agore PR rtl-optimization/91136 (incorrect move of instruction to delay slot causes...
Eric Botcazou [Fri, 12 Jul 2019 10:17:42 +0000 (10:17 +0000)] 
re PR rtl-optimization/91136 (incorrect move of instruction to delay slot causes application crash in exception handling)

PR rtl-optimization/91136
* df-core.c (ACCESSING REFS): Fix typos in comment.
* resource.c (mark_target_live_reg): Add artificial defs that occur at
the beginning of the block to the initial set of live registers.

From-SVN: r273439

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

From-SVN: r273426

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

From-SVN: r273372

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

From-SVN: r273318

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

From-SVN: r273257

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

From-SVN: r273187

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

From-SVN: r273170

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

From-SVN: r273151

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

From-SVN: r273097

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

From-SVN: r273028

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

From-SVN: r272950

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