]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
7 years agoDaily bump.
GCC Administrator [Mon, 4 Dec 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255370

7 years agoDaily bump.
GCC Administrator [Sun, 3 Dec 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255359

7 years agoDaily bump.
GCC Administrator [Sat, 2 Dec 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255342

7 years agors6000: Improve comparison rtx_cost (PR81288)
Segher Boessenkool [Fri, 1 Dec 2017 20:37:33 +0000 (21:37 +0100)] 
rs6000: Improve comparison rtx_cost (PR81288)

The current rs6000 rtx_cost for comparisons against 0 is very high if
TARGET_ISEL && !TARGET_MFCRF, much higher than for reg-reg comparisons,
much higher than a load of 0 and such a reg-reg-comparison.  This leads
to infinite recursion in CSE (see PR81288).

This patch removes the too-high cost, also simplifying this code.

PR 81288/target
* config/rs6000/rs6000.c (rs6000_rtx_costs): Do not handle
TARGET_ISEL && !TARGET_MFCRF differently.  Simplify code.

From-SVN: r255338

7 years agoDaily bump.
GCC Administrator [Fri, 1 Dec 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255286

7 years agoDaily bump.
GCC Administrator [Thu, 30 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255262

7 years ago[SPARC] Recognize the load when accessing the GOT
Daniel Cederman [Wed, 29 Nov 2017 17:14:36 +0000 (17:14 +0000)] 
[SPARC] Recognize the load when accessing the GOT

Needed for the UT699 errata workaround to function correctly when
compiling with -fPIC.

Backport from mainline
2017-11-29  Daniel Cederman  <cederman@gaisler.com>

gcc/
* config/sparc/sparc.c (sparc_do_work_around_errata): Treat the
        movsi_pic_gotdata_op instruction as a load for the UT699 errata
        workaround.

From-SVN: r255246

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

From-SVN: r255222

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

From-SVN: r255183

7 years agoDaily bump.
GCC Administrator [Mon, 27 Nov 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255156

7 years agoDaily bump.
GCC Administrator [Sun, 26 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255151

7 years agoDaily bump.
GCC Administrator [Sat, 25 Nov 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255145

7 years agocombine: Don't split insns if half is unused (PR82621)
Segher Boessenkool [Fri, 24 Nov 2017 17:03:04 +0000 (18:03 +0100)] 
combine: Don't split insns if half is unused (PR82621)

If we have a PARALLEL of two SETs, and one half is unused, we currently
happily split that into two instructions (albeit the unused one is
useless).  Worse, as PR82621 shows, combine will happily merge this
insn into I3 even if some intervening insn sets the same register
again, which is wrong.

This fixes it by not splitting PARALLELs with REG_UNUSED notes.  It
all is handled fine by combine in that case; just the "single set
that is unused" case isn't handled properly.

This also results in better code: combine will now actually throw
away the unused SET.  (It still won't do that in an I3).

PR rtl-optimization/82621
* combine.c (try_combine): Do not split PARALLELs of two SETs if the
dest of one of those SETs is unused.

From-SVN: r255143

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

From-SVN: r255128

7 years agoDaily bump.
GCC Administrator [Thu, 23 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255087

7 years agoDaily bump.
GCC Administrator [Wed, 22 Nov 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r255039

7 years agoppc-asm.h (f50, vs50): Fix values.
Pat Haugen [Tue, 21 Nov 2017 19:03:10 +0000 (19:03 +0000)] 
ppc-asm.h (f50, vs50): Fix values.

* config/rs6000/ppc-asm.h (f50, vs50): Fix values.

From-SVN: r255027

7 years agoAdapt Solaris 12 references
Rainer Orth [Tue, 21 Nov 2017 09:41:34 +0000 (09:41 +0000)] 
Adapt Solaris 12 references

libgo:
Backport from mainline

libgo: adapt Solaris 12 references

    With the change in the Solaris release model (no more major releases
    like Solaris 12 but only minor ones like 11.4), the Solaris 12
    references in GCC need to be adapted.

    Patch by Rainer Orth.

    Reviewed-on: https://go-review.googlesource.com/77490

libgcc:
Backport from mainline
2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config.host (*-*-solaris2*): Adapt comment for Solaris 12
renaming.
* config/sol2/crtpg.c (__start_crt_compiler): Likewise.
* configure.ac (libgcc_cv_solaris_crts): Likewise.
* configure: Regenerate.

gcc:
Backport from mainline
2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* config.gcc (*-*-solaris2*): Enable default_use_cxa_atexit since
Solaris 11.  Update comment.
* configure.ac (gcc_cv_ld_pid): Adapt comment for Solaris 12
renaming.
* config/sol2.h (STARTFILE_SPEC): Likewise.
* configure: Regenerate.

gcc/testsuite:
Backport from mainline
2017-11-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* lib/target-supports.exp (check_effective_target_pie): Adapt
comment for Solaris 12 renaming.

* gcc.dg/torture/pr60092.c: Remove *-*-solaris2.11* dg-xfail-run-if.

From-SVN: r254995

7 years agoDaily bump.
GCC Administrator [Tue, 21 Nov 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254974

7 years agoDaily bump.
GCC Administrator [Mon, 20 Nov 2017 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254941

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

From-SVN: r254921

7 years agoDaily bump.
GCC Administrator [Sat, 18 Nov 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254910

7 years agoDaily bump.
GCC Administrator [Fri, 17 Nov 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254850

7 years agoi386.c (x86_print_call_or_nop): Emit 5 byte nop explicitly as a stream of bytes.
Uros Bizjak [Thu, 16 Nov 2017 19:22:17 +0000 (20:22 +0100)] 
i386.c (x86_print_call_or_nop): Emit 5 byte nop explicitly as a stream of bytes.

* config/i386/i386.c (x86_print_call_or_nop): Emit 5 byte nop
explicitly as a stream of bytes.

From-SVN: r254842

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

From-SVN: r254791

7 years agoDaily bump.
GCC Administrator [Wed, 15 Nov 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254744

7 years agobackport: re PR fortran/82934 (Segfault on assumed character length in allocate)
Paul Thomas [Tue, 14 Nov 2017 17:38:38 +0000 (17:38 +0000)] 
backport: re PR fortran/82934 (Segfault on assumed character length in allocate)

2017-11-13  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/82934
* trans-stmt.c (gfc_trans_allocate): Remove the gcc_assert on
null string length for assumed length typespec and set
expr3_esize to NULL_TREE;

2017-11-13  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/82934
* gfortran.dg/allocate_assumed_charlen_1.f90: New test.

From-SVN: r254733

7 years agobackport: re PR fortran/78619 (ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn...
Paul Thomas [Tue, 14 Nov 2017 08:15:52 +0000 (08:15 +0000)] 
backport: re PR fortran/78619 (ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889)

2017-11-13  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/78619
* check.c (same_type_check): Introduce a new argument 'assoc'
with default value false. If this is true, use the symbol type
spec of BT_PROCEDURE expressions.
(gfc_check_associated): Set 'assoc' true in the call to
'same_type_check'.

2017-11-13  Paul Thomas  <pault@gcc.gnu.org>

Backport from trunk
PR fortran/78619
* gfortran.dg/pr78619.f90: New test.

From-SVN: r254719

7 years agoDaily bump.
GCC Administrator [Tue, 14 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254715

7 years agoUse -xbrace_comment=no with recent Solaris/x86 as
Rainer Orth [Mon, 13 Nov 2017 12:54:00 +0000 (12:54 +0000)] 
Use -xbrace_comment=no with recent Solaris/x86 as

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

* configure.ac (gcc_cv_as_ix86_xbrace_comment): Check if assembler
supports -xbrace_comment option.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/sol2.h (ASM_XBRACE_COMMENT_SPEC): Define.
(ASM_CPU_SPEC): Use it.

From-SVN: r254682

7 years agoDaily bump.
GCC Administrator [Mon, 13 Nov 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254667

7 years agoDaily bump.
GCC Administrator [Sun, 12 Nov 2017 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254661

7 years agobackport: Wunused-var-16.c: Add -fno-common additional option on hppa*-*-hpux*
John David Anglin [Sat, 11 Nov 2017 16:42:36 +0000 (16:42 +0000)] 
backport: Wunused-var-16.c: Add -fno-common additional option on hppa*-*-hpux*

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

        * c-c++-common/Wunused-var-16.c: Add -fno-common additional option on
hppa*-*-hpux*
        * c-c++-common/builtin-shuffle-1.c: Likewise.

2017-02-15  David Edelsohn  <dje.gcc@gmail.com>

* g++.dg/cpp0x/pr79296.C: Move dg-do compile directive first.

2017-02-24  David Edelsohn  <dje.gcc@gmail.com>

* g++.dg/ext/complit15.C: Require LTO.

2017-01-26  David Edelsohn  <dje.gcc@gmail.com>

* g++.dg/opt/declone3.C: Require LTO.

2017-03-26  John David Anglin  <danglin@gcc.gnu.org>

* gcc.dg/torture/pr79732.c: Require alias support.

2017-02-03  John David Anglin  <danglin@gcc.gnu.org>

* gfortran.dg/coarray_43.f90: Add "-latomic" option if
libatomic_available.

From-SVN: r254656

7 years agobackport: re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors))
John David Anglin [Sat, 11 Nov 2017 16:11:50 +0000 (16:11 +0000)] 
backport: re PR testsuite/81056 (FAIL: 17_intro/names.cc (test for excess errors))

Backport from mainline
2017-08-20  John David Anglin  <danglin@gcc.gnu.org>

PR testsuite/81056
* testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__.

From-SVN: r254655

7 years agobackport: re PR target/68739 (FAIL: 30_threads/call_once/constexpr.cc (test for exces...
John David Anglin [Sat, 11 Nov 2017 15:53:18 +0000 (15:53 +0000)] 
backport: re PR target/68739 (FAIL: 30_threads/call_once/constexpr.cc (test for excess errors))

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

PR target/68739
* inclhack.def (hpux11_pthread_pointer): New fix.
(hpux11_pthread_const): Adjust to remove void * cast from define.
* fixincl.x: Regenerate.
* tests/base/sys/pthread.h [HPUX11_PTHREAD_CONST_CHECK]: Update tests.

From-SVN: r254654

7 years agoDaily bump.
GCC Administrator [Sat, 11 Nov 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254645

7 years agoutils.c (convert): Add comment and do not fall through to the next case.
Eric Botcazou [Fri, 10 Nov 2017 08:24:40 +0000 (08:24 +0000)] 
utils.c (convert): Add comment and do not fall through to the next case.

* gcc-interface/utils.c (convert) <RECORD_TYPE>: Add comment and do
not fall through to the next case.
<ARRAY_TYPE>: Deal specially with a dereference from another array
type with the same element type.

From-SVN: r254620

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

From-SVN: r254615

7 years ago[ARM][PATCH v2] enable FL_LPAE flag for armv7ve cores
Andre McCurdy [Thu, 9 Nov 2017 14:34:28 +0000 (14:34 +0000)] 
[ARM][PATCH v2] enable FL_LPAE flag for armv7ve cores

The following commit added the FL_LPAE flag to FL_FOR_ARCH7VE, but
neglected to also add it to the armv7ve compatible cores defined in
arm-cores.def.

  https://github.com/gcc-mirror/gcc/commit/af2d9b9e58e8be576c53d94f30c48c68146b0c98

The result is that gcc 6.4 now refuses to allow -march=armv7ve and
-mcpu=XXX to be used together, even when -mcpu is set to an armv7ve
compatible core:

  arm-linux-gnueabi-gcc -march=armv7ve -mcpu=cortex-a7 -Werror ...
  error: switch -mcpu=cortex-a7 conflicts with -march=armv7ve switch [-Werror]

This is a regression relative to gcc 6.3.

Fix by defining flags for armv7ve compatible cores directly from
FL_FOR_ARCH7VE, rather than re-creating the armv7ve flags
independently by combining FL_FOR_ARCH7A with the armv7ve specific
FL_THUMB_DIV and FL_ARM_DIV flags.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
2017-11-09  Andre McCurdy  <armccurdy@gmail.com>

* config/arm/arm-cores.def: Fix missing FL_LPAE flag for armv7ve
compatible cores.

From-SVN: r254584

7 years agoBackport PRs 64682, 69567, 69737, 82683
Segher Boessenkool [Thu, 9 Nov 2017 10:23:30 +0000 (11:23 +0100)] 
Backport PRs 64682, 69567, 69737, 82683

Backport from mainline
2017-11-01  Segher Boessenkool  <segher@kernel.crashing.org>

PR rtl-optimization/64682
PR rtl-optimization/69567
PR rtl-optimization/69737
PR rtl-optimization/82683
* combine.c (distribute_notes) <REG_DEAD>: If the new I2 sets the same
register mentioned in the note, drop the note, unless it came from I3,
in which case it should go to I3 again.

From-SVN: r254565

7 years agoDaily bump.
GCC Administrator [Thu, 9 Nov 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254557

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

From-SVN: r254514

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

From-SVN: r254481

7 years agobackport: re PR fortran/78641 ([OOP] ICE on polymorphic allocatable function in array...
Paul Thomas [Mon, 6 Nov 2017 11:50:53 +0000 (11:50 +0000)] 
backport: re PR fortran/78641 ([OOP] ICE on polymorphic allocatable function in array constructor)

2017-11-06  Paul Thomas  <pault@gcc.gnu.org>

Backported from trunk
PR fortran/78641
* resolve.c (resolve_ordinary_assign): Do not add the _data
component for class valued array constructors being assigned
to derived type arrays.
* trans-array.c (gfc_trans_array_ctor_element): Take the _data
of class valued elements for assignment to derived type arrays.

2017-11-06  Paul Thomas  <pault@gcc.gnu.org>

Backported from trunk
PR fortran/78641
* gfortran.dg/class_66.f90: New test.

From-SVN: r254449

7 years agobackport: re PR fortran/69739 (ICE during array result, allocatable assignment)
Paul Thomas [Mon, 6 Nov 2017 11:48:32 +0000 (11:48 +0000)] 
backport: re PR fortran/69739 (ICE during array result, allocatable assignment)

2017-11-06  Paul Thomas  <pault@gcc.gnu.org>

Backported from trunk
PR fortran/69739
* trans-expr.c (gfc_map_intrinsic_function): Return false for
bounds without the DIM argument instead of ICEing.

2017-11-06  Paul Thomas  <pault@gcc.gnu.org>

Backported from trunk
PR fortran/69739
* gfortran.dg/pr69739.f90: New test.

From-SVN: r254448

7 years agoDaily bump.
GCC Administrator [Mon, 6 Nov 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254433

7 years agobackport: re PR libgcc/82635 (std::thread's join broken on FreeBSD with all GCCs...
Andreas Tobler [Sun, 5 Nov 2017 19:33:44 +0000 (20:33 +0100)] 
backport: re PR libgcc/82635 (std::thread's join broken on FreeBSD with all GCCs >= 5)

2017-11-05  Andreas Tobler  <andreast@gcc.gnu.org>

    Backport from mainline
    2017-11-04  Andreas Tobler  <andreast@gcc.gnu.org>

    PR libgcc/82635
    * config/i386/freebsd-unwind.h (MD_FALLBACK_FRAME_STATE_FOR): Use a
    sysctl to determine whether we're in a trampoline.
    Keep the pattern matching method for systems without
    KERN_PROC_SIGTRAMP sysctl.

From-SVN: r254432

7 years agoDaily bump.
GCC Administrator [Sun, 5 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254413

7 years agore PR fortran/82796 (Private+equivalence in used module breaks compilation of pure...
Steven G. Kargl [Sat, 4 Nov 2017 17:16:39 +0000 (17:16 +0000)] 
re PR fortran/82796 (Private+equivalence in used module breaks compilation of pure function)

2017-11-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82796
* resolve.c (resolve_equivalence): An entity in a common block within
  a module cannot appear in an equivalence statement if the entity is
with a pure procedure.

2017-11-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/82796
* gfortran.dg/equiv_pure.f90: New test.

From-SVN: r254410

7 years agoDaily bump.
GCC Administrator [Sat, 4 Nov 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254400

7 years agore PR fortran/81735 (double free or corruption (fasttop) error (SIGABRT) with charact...
Paul Thomas [Fri, 3 Nov 2017 19:17:19 +0000 (19:17 +0000)] 
re PR fortran/81735 (double free or corruption (fasttop) error (SIGABRT) with character(:) and custom return type with allocatable)

2017-11-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81735
* trans-decl.c (gfc_trans_deferred_vars): Correct case where
'tmp' can be used unititialized.

2017-11-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81735
* gfortran.dg/pr81735.f90: New test.

From-SVN: r254393

7 years agoDaily bump.
GCC Administrator [Fri, 3 Nov 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254362

7 years agoDaily bump.
GCC Administrator [Thu, 2 Nov 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254332

7 years ago[multiple changes]
Paul Thomas [Wed, 1 Nov 2017 17:24:35 +0000 (17:24 +0000)] 
[multiple changes]

2017-11-01  Andre Vehreschild  <vehre@gcc.gnu.org>
Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78293
* trans-expr.c (gfc_conv_procedure_call): Prepend deallocation
of alloctable components to post, rather than adding to
se->post.
* trans-stmt.c (gfc_trans_allocate): Move deallocation of expr3
allocatable components so that all expr3s are visited.

2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/78293
* gfortran.dg/allocatable_function_10.f90: New test.
* gfortran.dg/class_array_15.f03: Increase builtin_free count
from 11 to 12.

From-SVN: r254319

7 years agore PR fortran/80554 ([f08] variable redefinition in submodule)
Paul Thomas [Wed, 1 Nov 2017 12:39:48 +0000 (12:39 +0000)] 
re PR fortran/80554 ([f08] variable redefinition in submodule)

2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80554
* decl.c (build_sym): In a submodule allow overriding of host
associated symbols from the ancestor module with a new
declaration.

2017-11-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/80554
* gfortran.dg/submodule_29.f08: New test.

From-SVN: r254303

7 years agoDaily bump.
GCC Administrator [Wed, 1 Nov 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254285

7 years agore PR target/82772 (GCC crashes as compiling ags_thread.c source file on alpha archit...
Uros Bizjak [Tue, 31 Oct 2017 10:36:33 +0000 (11:36 +0100)] 
re PR target/82772 (GCC crashes as compiling ags_thread.c source file on alpha architecture)

PR target/82772
* config/alpha/sync.md (fetchop_constr) <and>: Change to "rINM".

From-SVN: r254255

7 years agoDaily bump.
GCC Administrator [Tue, 31 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254247

7 years agoDaily bump.
GCC Administrator [Mon, 30 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254208

7 years agoDaily bump.
GCC Administrator [Sun, 29 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254201

7 years agoDaily bump.
GCC Administrator [Sat, 28 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254190

7 years agoDaily bump.
GCC Administrator [Fri, 27 Oct 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254129

7 years agoDaily bump.
GCC Administrator [Thu, 26 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254094

7 years agoCorrections to C++ library status docs
Jonathan Wakely [Wed, 25 Oct 2017 14:16:26 +0000 (15:16 +0100)] 
Corrections to C++ library status docs

* doc/xml/manual/status_cxx1998.xml: Correct statement about
what the doc covers.
* doc/xml/manual/status_cxxtr1.xml: Likewise.
* doc/xml/manual/status_cxxtr24733.xml: Likewise.
* doc/html/*: Regenerate.

From-SVN: r254079

7 years agoDaily bump.
GCC Administrator [Wed, 25 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254064

7 years agoDaily bump.
GCC Administrator [Tue, 24 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r254028

7 years agoPR libstdc++/81395 fix crash when write follows large read
Jonathan Wakely [Mon, 23 Oct 2017 17:47:10 +0000 (18:47 +0100)] 
PR libstdc++/81395 fix crash when write follows large read

Backport from mainline
2017-07-18  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/81395
* include/bits/fstream.tcc (basic_filebuf::xsgetn): Don't set buffer
pointers for write mode after reading.
* testsuite/27_io/basic_filebuf/sgetn/char/81395.cc: New.

From-SVN: r254018

7 years agoFix path::iterator post-increment and post-decrement
Jonathan Wakely [Mon, 23 Oct 2017 17:47:05 +0000 (18:47 +0100)] 
Fix path::iterator post-increment and post-decrement

Backport from mainline
2017-10-19  Jonathan Wakely  <jwakely@redhat.com>

* include/experimental/bits/fs_path.h (path::iterator++(int))
(path::iterator--(int)): Fix for paths with only one component.
* testsuite/experimental/filesystem/path/itr/traversal.cc: Test
post-increment and post-decrement.

From-SVN: r254017

7 years agoDaily bump.
GCC Administrator [Mon, 23 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253994

7 years agobackport: re PR libfortran/82233 (execute_command_line causes program to stop when...
Thomas Koenig [Sun, 22 Oct 2017 14:21:16 +0000 (14:21 +0000)] 
backport: re PR libfortran/82233 (execute_command_line causes program to stop when command fails (or does not exist))

2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR libfortran/82233
* intrinsics/execute_command_line.c (execute_command_line):
No call to runtime_error if cmdstat is present.

2017-10-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR libfortran/82233
* gfortran.dg/execute_command_line_3.f90: New test.

From-SVN: r253983

7 years agoDaily bump.
GCC Administrator [Sun, 22 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253980

7 years agoDaily bump.
GCC Administrator [Sat, 21 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253964

7 years agobackport: rs6000.c (rs6000_gen_le_vsx_permute): Use rotate instead of vec_select...
Bill Schmidt [Fri, 20 Oct 2017 21:35:41 +0000 (21:35 +0000)] 
backport: rs6000.c (rs6000_gen_le_vsx_permute): Use rotate instead of vec_select for V1TImode.

2017-10-20  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline
2017-03-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

* config/rs6000/rs6000.c (rs6000_gen_le_vsx_permute): Use rotate
instead of vec_select for V1TImode.
* conifg/rs6000/vsx.md (VSX_LE): Remove mode iterator that is no
longer needed.
(VSX_LE_128): Add V1TI to this mode iterator.
(*vsx_le_perm_load_<mode>): Change to use VSX_D mode iterator.
(*vsx_le_perm_store_<mode>): Likewise.
(pre-reload splitter for VSX stores): Likewise.
(post-reload splitter for VSX stores): Likewise.
(*vsx_xxpermdi2_le_<mode>): Likewise.
(*vsx_lxvd2x2_le_<mode>): Likewise.
(*vsx_stxvd2x2_le_<mode>): Likewise.

From-SVN: r253961

7 years agobackport: re PR fortran/79795 (Fortran ICE in resolve_symbol starting with r163221)
Thomas Koenig [Fri, 20 Oct 2017 19:26:35 +0000 (19:26 +0000)] 
backport: re PR fortran/79795 (Fortran ICE in resolve_symbol starting with r163221)

2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/79795
* resolve.c (resovle_symbol): Change gcc_assert to
sensible error message.

2017-10-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/79795
* gfortran.dg/assumed_size_2.f90: New test.

From-SVN: r253956

7 years agoDaily bump.
GCC Administrator [Fri, 20 Oct 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253917

7 years agore PR fortran/79402 (ICE with submodules: module procedure interface defined in paren...
Paul Thomas [Thu, 19 Oct 2017 17:54:58 +0000 (17:54 +0000)] 
re PR fortran/79402 (ICE with submodules: module procedure interface defined in parent module)

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79402
* resolve.c (fixup_unique_dummy): New function.
(gfc_resolve_expr): Call it for dummy variables with a unique
symtree name.

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/79402
* gfortran.dg/submodule_23.f90: New test.

From-SVN: r253908

7 years ago[ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing with -mno-unaligned...
Richard Earnshaw [Thu, 19 Oct 2017 13:16:42 +0000 (13:16 +0000)] 
[ARM] PR 82445 - suppress 32-bit aligned ldrd/strd peepholing with -mno-unaligned-access

Peephole patterns exist in the arm backend to spot load/store
operations to adjacent memory operations in order to convert them into
ldrd/strd instructions.  However, when we have strict alignment
enforced, then we can only do this if the accesses are known to be
64-bit aligned; this is unlikely to be the case for most loads.  The
patch adds some alignment checking to the code that validates the
addresses for use in the peephole patterns.  This should also fix
incorrect generation of ldrd/strd with unaligned accesses that could
previously have occurred on ARMv5e where all such operations must be
64-bit aligned.

I've added some new tests as well.  In doing so I discovered that the
ldrd/strd peephole tests could never fail since they would match the
source file name in the scanned assembly as well as any instructions
of the intended type.  I've fixed those by tightening the scan results
slightly.

gcc:

* config/arm/arm.c (align_ok_ldrd_strd): New function.
(mem_ok_for_ldrd_strd): New parameter align.  Extract the alignment of the
mem into it.
(gen_operands_ldrd_strd): Validate the alignment of the accesses.

testsuite:

* gcc.target/arm/peep-ldrd-1.c: Tighten test scan pattern.
* gcc.target/arm/peep-strd-1.c: Likewise.
* gcc.target/arm/peep-ldrd-2.c: New test.
* gcc.target/arm/peep-strd-2.c: New test.

From-SVN: r253892

7 years agore PR fortran/81048 (incorrect derived type initialization)
Paul Thomas [Thu, 19 Oct 2017 12:16:41 +0000 (12:16 +0000)] 
re PR fortran/81048 (incorrect derived type initialization)

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81048
* resolve.c (resolve_symbol): Ensure that derived type array
results get default initialization.

2017-10-19  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81048
* gfortran.dg/derived_init_4.f90 : New test.

From-SVN: r253889

7 years agoDaily bump.
GCC Administrator [Thu, 19 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253874

7 years agoira: volatile asm's are not moveable (PR82602)
Segher Boessenkool [Wed, 18 Oct 2017 21:15:24 +0000 (23:15 +0200)] 
ira: volatile asm's are not moveable (PR82602)

A volatile asm statement can not be moved (relative to other volatile
asm, etc.), but IRA would do it nevertheless.  This patch fixes it.

PR rtl-optimization/82602
* ira.c (rtx_moveable_p): Return false for volatile asm.

From-SVN: r253871

7 years agoDaily bump.
GCC Administrator [Wed, 18 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253838

7 years agore PR tree-optimization/82549 (ICE at -O1 and above: verify_gimple failed)
Jakub Jelinek [Tue, 17 Oct 2017 14:53:13 +0000 (16:53 +0200)] 
re PR tree-optimization/82549 (ICE at -O1 and above: verify_gimple failed)

PR tree-optimization/82549
* fold-const.c (optimize_bit_field_compare, fold_truth_andor_1):
Formatting fixes.  Instead of calling make_bit_field_ref with negative
bitpos return 0.

* gcc.c-torture/compile/pr82549.c: New test.

From-SVN: r253818

7 years agoDaily bump.
GCC Administrator [Tue, 17 Oct 2017 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253799

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

From-SVN: r253773

7 years agoDaily bump.
GCC Administrator [Sun, 15 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253765

7 years agoDaily bump.
GCC Administrator [Sat, 14 Oct 2017 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253745

7 years agore PR target/82274 (__builtin_mul_overflow fails to detect overflow for int64_t when...
Jakub Jelinek [Fri, 13 Oct 2017 20:14:34 +0000 (22:14 +0200)] 
re PR target/82274 (__builtin_mul_overflow fails to detect overflow for int64_t when compiled with -m32)

PR target/82274
* internal-fn.c (expand_mul_overflow): If both operands have
the same highpart of -1 or 0 and the topmost bit of lowpart
is different, overflow is if res <= 0 rather than res < 0.

* libgcc2.c (__mulvDI3): If both operands have
the same highpart of -1 and the topmost bit of lowpart is 0,
multiplication overflows even if both lowparts are 0.

* gcc.dg/pr82274-1.c: New test.
* gcc.dg/pr82274-2.c: New test.

From-SVN: r253743

7 years agoDaily bump.
GCC Administrator [Fri, 13 Oct 2017 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253702

7 years agoDaily bump.
GCC Administrator [Thu, 12 Oct 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253668

7 years agoDaily bump.
GCC Administrator [Wed, 11 Oct 2017 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253625

7 years agoconfig.gcc: (armv7*-*-freebsd*): New target.
Andreas Tobler [Tue, 10 Oct 2017 18:47:57 +0000 (20:47 +0200)] 
config.gcc: (armv7*-*-freebsd*): New target.

2017-10-10  Andreas Tobler  <andreast@gcc.gnu.org>

    * config.gcc: (armv7*-*-freebsd*): New target.
    Define TARGET_FREEBSD_ARMv7
    * config/arm/freebsd.h: Use TARGET_FREEBSD_ARMv7 to define the
    default cpu for armv7*-*-freebsd*.

From-SVN: r253604

7 years agoDaily bump.
GCC Administrator [Tue, 10 Oct 2017 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253572

7 years agoDaily bump.
GCC Administrator [Mon, 9 Oct 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253534

7 years agoDaily bump.
GCC Administrator [Sun, 8 Oct 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253517

7 years agoDaily bump.
GCC Administrator [Sat, 7 Oct 2017 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253504

7 years agobackport: re PR fortran/80118 (ICE with zero size parameter array)
Thomas Koenig [Fri, 6 Oct 2017 18:15:26 +0000 (18:15 +0000)] 
backport: re PR fortran/80118 (ICE with zero size parameter array)

2017-10-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/80118
        * expr.c (gfc_get_full_arrayspec_from_expr): If there is
        no symtree, set array spec to NULL.

2017-10-06  Thomas Koenig  <tkoenig@gcc.gnu.org>
            Steven G. Kargl  <kargl@gcc.gnu.org>

        Backport from trunk
        PR fortran/80118
        * gfortran.dg/zero_sized_7.f90: New test.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r253500

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

From-SVN: r253470

7 years agoDaily bump.
GCC Administrator [Thu, 5 Oct 2017 00:16:10 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253434

7 years agoDaily bump.
GCC Administrator [Wed, 4 Oct 2017 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253391

7 years agoDaily bump.
GCC Administrator [Tue, 3 Oct 2017 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r253374