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

From-SVN: r256015

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

From-SVN: r256004

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

From-SVN: r255998

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

From-SVN: r255994

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

From-SVN: r255989

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

From-SVN: r255984

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

From-SVN: r255963

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

From-SVN: r255907

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

From-SVN: r255846

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

From-SVN: r255793

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

From-SVN: r255769

7 years agobackport: pa.c (pa_legitimate_address_p): For scaled indexing...
John David Anglin [Sun, 17 Dec 2017 17:05:15 +0000 (17:05 +0000)] 
backport: pa.c (pa_legitimate_address_p): For scaled indexing...

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

* config/pa/pa.c (pa_legitimate_address_p): For scaled indexing,
require base operand is a REG_POINTER prior to reload on targets
with non-equivalent space registers.

From-SVN: r255763

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

From-SVN: r255756

7 years agobackport: re PR libfortran/81937 (stack-buffer-overflow on memcpy in libgfortran...
Jerry DeLisle [Sat, 16 Dec 2017 22:41:13 +0000 (22:41 +0000)] 
backport: re PR libfortran/81937 (stack-buffer-overflow on memcpy in libgfortran/io/unix.c on character(kind=4))

2017-12-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

Backport from trunk
PR libgfortran/81937
* io/list_read.c (next_char_internal): Don't attempt to read
from the internal unit stream if no bytes are left. Decrement
bytes_left in the right place.

From-SVN: r255754

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

From-SVN: r255732

7 years agore PR target/66488 (segfault on sizeof(long) < sizeof(void*) and large GCC memory...
Eric Botcazou [Fri, 15 Dec 2017 11:32:27 +0000 (11:32 +0000)] 
re PR target/66488 (segfault on sizeof(long) < sizeof(void*) and large GCC memory usage)

PR target/66488
* ggc-page.c (HOST_BITS_PER_PTR): Do not define here...
* hwint.h (HOST_BITS_PER_PTR): ...but here instead.

From-SVN: r255689

7 years agobackport: ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.
Peter Bergner [Fri, 15 Dec 2017 03:44:16 +0000 (21:44 -0600)] 
backport: ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.

gcc/
Backport from mainline
2017-12-13  Peter Bergner  <bergner@vnet.ibm.com>

* config/rs6000/ppc-auxv.h (PPC_FEATURE2_HTM_NO_SUSPEND): New define.
* config/rs6000/rs6000.c (cpu_supports_info): Use it.

gcc/testsuite/
Backport from mainline
2017-12-13  Peter Bergner  <bergner@vnet.ibm.com>

* gcc.target/powerpc/cpu-builtin-1.c (htm-no-suspend): Add test.

From-SVN: r255672

7 years agobackport: re PR target/80210 (ICE in in extract_insn, at recog.c:2311 on ppc64 for...
Peter Bergner [Fri, 15 Dec 2017 03:41:16 +0000 (21:41 -0600)] 
backport: re PR target/80210 (ICE in in extract_insn, at recog.c:2311 on ppc64 for with __builtin_pow)

gcc/
Backport from mainline
2017-10-02  Peter Bergner  <bergner@vnet.ibm.com>

PR target/80210
* config/rs6000/rs6000.c (rs6000_option_override_internal): Rewrite
function to not use the have_cpu variable.  Do not set cpu_index,
rs6000_cpu_index or rs6000_tune_index if we end up using TARGET_DEFAULT
or the default cpu.
(rs6000_valid_attribute_p): Remove duplicate initializations of
old_optimize and func_optimize.
(rs6000_pragma_target_parse): Call rs6000_activate_target_options ().
(rs6000_activate_target_options): Make global.
* config/rs6000/rs6000-protos.h (rs6000_activate_target_options): Add
prototype.

gcc/testsuite/
Backport from mainline
2017-10-02  Peter Bergner  <bergner@vnet.ibm.com>

PR target/80210
* gcc.target/powerpc/pr80210-2.c: New test.

From-SVN: r255671

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

From-SVN: r255668

7 years agodecl.c (gnat_to_gnu_field): Do not set the alignment of the enclosing record type...
Eric Botcazou [Thu, 14 Dec 2017 17:07:28 +0000 (17:07 +0000)] 
decl.c (gnat_to_gnu_field): Do not set the alignment of the enclosing record type if it is not already set.

* gcc-interface/decl.c (gnat_to_gnu_field): Do not set the alignment
of the enclosing record type if it is not already set.

From-SVN: r255647

7 years agoPR libstdc++/59568 don't use putback or update value when extraction fails
Jonathan Wakely [Thu, 14 Dec 2017 12:01:40 +0000 (12:01 +0000)] 
PR libstdc++/59568 don't use putback or update value when extraction fails

PR libstdc++/59568
* include/std/complex (operator>>): Only use putback if a character
was successfully extracted and only set the value if a number was
successfully extracted.
* testsuite/26_numerics/complex/inserters_extractors/char/59568.cc:
New test.

From-SVN: r255634

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

From-SVN: r255618

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

From-SVN: r255594

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

From-SVN: r255560

7 years ago[PR c++/83301] cgraph.c segfault
Thomas Schwinge [Mon, 11 Dec 2017 09:49:25 +0000 (10:49 +0100)] 
[PR c++/83301] cgraph.c segfault

Backport trunk r243377:

gcc/
2016-12-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/78692
* cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Set lhs
var to lhs of new_stmt right before noreturn handling rather than to
lhs of e->call_stmt early.

gcc/testsuite/
2016-12-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/78692
* g++.dg/torture/pr78692.C: New test.

From-SVN: r255538

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

From-SVN: r255535

7 years agoBackport "Fix condition folding in c_parser_omp_for_loop"
Tom de Vries [Sun, 10 Dec 2017 21:37:08 +0000 (21:37 +0000)] 
Backport "Fix condition folding in c_parser_omp_for_loop"

2017-12-10  Tom de Vries  <tom@codesourcery.com>

backport from trunk:
2017-09-16  Tom de Vries  <tom@codesourcery.com>

PR c/81875
* c-parser.c (c_parser_omp_for_loop): Fold only operands of cond, not
cond itself.

* testsuite/libgomp.c/pr81875.c: New test.

From-SVN: r255532

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

From-SVN: r255525

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

From-SVN: r255518

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

From-SVN: r255488

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

From-SVN: r255458

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

From-SVN: r255435

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

From-SVN: r255396

7 years agoFix PR82941 and PR82942 by adding proper vzeroupper generation on SKX.
Sebastian Peryt [Mon, 4 Dec 2017 11:40:44 +0000 (12:40 +0100)] 
Fix PR82941 and PR82942 by adding proper vzeroupper generation on SKX.

Add X86_TUNE_EMIT_VZEROUPPER to indicate if vzeroupper instruction should
be inserted before a transfer of control flow out of the function.  It is
turned on by default unless we are tuning for KNL.  Users can always use
-mzeroupper or -mno-zeroupper to override X86_TUNE_EMIT_VZEROUPPER.

2017-12-04  Sebastian Peryt  <sebastian.peryt@intel.com>
H.J. Lu  <hongjiu.lu@intel.com>

gcc/
Bakcported from trunk
PR target/82941
PR target/82942
PR target/82990
* config/i386/i386.c (pass_insert_vzeroupper): Remove
TARGET_AVX512F check from gate condition.
(ix86_check_avx256_register): Changed to ...
(ix86_check_avx_upper_register): ... this. Add extra check for
VALID_AVX512F_REG_OR_XI_MODE.
(ix86_avx_u128_mode_needed): Changed
ix86_check_avx256_register to ix86_check_avx_upper_register.
(ix86_check_avx256_stores): Changed to ...
(ix86_check_avx_upper_stores): ... this. Changed
ix86_check_avx256_register to ix86_check_avx_upper_register.
(ix86_avx_u128_mode_after): Changed
avx_reg256_found to avx_upper_reg_found. Changed
ix86_check_avx256_stores to ix86_check_avx_upper_stores.
(ix86_avx_u128_mode_entry): Changed
ix86_check_avx256_register to ix86_check_avx_upper_register.
(ix86_avx_u128_mode_exit): Ditto.
(ix86_option_override_internal): Set MASK_VZEROUPPER if
neither -mzeroupper nor -mno-zeroupper is used and
TARGET_EMIT_VZEROUPPER is set.
* config/i386/i386.h: (host_detect_local_cpu): New define.
(TARGET_EMIT_VZEROUPPER): New.
* config/i386/x86-tune.def: Add X86_TUNE_EMIT_VZEROUPPER.

gcc/testsuite/
Backported from trunk
PR target/82941
PR target/82942
PR target/82990
* gcc.target/i386/pr82941-1.c: New test.
* gcc.target/i386/pr82941-2.c: Likewise.
* gcc.target/i386/pr82942-1.c: Likewise.
* gcc.target/i386/pr82942-2.c: Likewise.
* gcc.target/i386/pr82990-1.c: Likewise.
* gcc.target/i386/pr82990-2.c: Likewise.
* gcc.target/i386/pr82990-3.c: Likewise.
* gcc.target/i386/pr82990-4.c: Likewise.
* gcc.target/i386/pr82990-5.c: Likewise.
* gcc.target/i386/pr82990-6.c: Likewise.
* gcc.target/i386/pr82990-7.c: Likewise.

Co-Authored-By: H.J. Lu <hongjiu.lu@intel.com>
From-SVN: r255379

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