]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
7 years agobackport: re PR c/82340 (volatile ignored in compound literal)
Jakub Jelinek [Mon, 25 Jun 2018 16:43:59 +0000 (18:43 +0200)] 
backport: re PR c/82340 (volatile ignored in compound literal)

Backported from mainline
2017-09-29  Jakub Jelinek  <jakub@redhat.com>

PR c/82340
* c-decl.c (build_compound_literal): Use c_apply_type_quals_to_decl
instead of trying to set just TREE_READONLY manually.

* gcc.dg/tree-ssa/pr82340.c: New test.

From-SVN: r262027

7 years agobackport: re PR c++/82159 (ICE: in assign_temp, at function.c:961)
Jakub Jelinek [Mon, 25 Jun 2018 16:43:16 +0000 (18:43 +0200)] 
backport: re PR c++/82159 (ICE: in assign_temp, at function.c:961)

Backported from mainline
2017-09-27  Jakub Jelinek  <jakub@redhat.com>

PR c++/82159
* gimplify.c (gimplify_modify_expr): Don't optimize away zero sized
lhs from calls if the lhs has addressable type.

* g++.dg/opt/pr82159.C: New test.

From-SVN: r262026

7 years agoDaily bump.
GCC Administrator [Mon, 25 Jun 2018 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261999

7 years agoDaily bump.
GCC Administrator [Sun, 24 Jun 2018 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261989

7 years agoFix phi backedge detection in backprop (PR85989)
Richard Sandiford [Sat, 23 Jun 2018 16:18:36 +0000 (16:18 +0000)] 
Fix phi backedge detection in backprop (PR85989)

Backport trunk r261064.

2018-06-23  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
PR tree-optimization/85989
* gimple-ssa-backprop.c (backprop::m_visited_phis): New member
variable.
(backprop::backprop): Initialize it.
(backprop::~backprop): Free it.
(backprop::intersect_uses): Check it when deciding whether this
is a backedge reference.
(backprop::process_block): Add each phi to m_visited_phis
after visiting it, then clear it at the end.

gcc/testsuite/
PR tree-optimization/85989
* gcc.dg/torture/pr85989.c: New test.

From-SVN: r261985

7 years agoDaily bump.
GCC Administrator [Sat, 23 Jun 2018 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261976

7 years agoDaily bump.
GCC Administrator [Fri, 22 Jun 2018 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261874

7 years agobackport: [multiple changes]
Richard Biener [Thu, 21 Jun 2018 11:18:50 +0000 (11:18 +0000)] 
backport: [multiple changes]

2018-06-21  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-09-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82108
* tree-vect-stmts.c (vectorizable_load): Fix pointer adjustment
for gap in the non-permutation SLP case.

* gcc.dg/vect/pr82108.c: New testcase.

2017-06-18  Richard Biener  <rguenther@suse.de>

PR tree-optimization/81410
* tree-vect-stmts.c (vectorizable_load): Properly adjust for
the gap in the ! slp_perm SLP case after each group.

* gcc.dg/vect/pr81410.c: New testcase.

2017-03-08  Richard Biener  <rguenther@suse.de>

PR tree-optimization/79920
* tree-vect-slp.c (vect_create_mask_and_perm): Remove and inline
with ncopies == 1 to ...
(vect_transform_slp_perm_load): ... here.  Properly compute
all element loads by iterating VF times over the group.  Do
not handle ncopies (computed in a broken way) in
vect_create_mask_and_perm.

* gcc.dg/vect/pr79920.c: New testcase.

From-SVN: r261842

7 years agobackport: [multiple changes]
Richard Biener [Thu, 21 Jun 2018 09:50:36 +0000 (09:50 +0000)] 
backport: [multiple changes]

2018-06-21  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-02-28  Richard Biener  <rguenther@suse.de>

PR middle-end/84607
* genmatch.c (capture_info::walk_match): Do not mark
captured expressions without operands as expr_p given
they act more like predicates and should be subject to
"lost tail" side-effect preserving.

* gcc.dg/pr84607.c: New testcase.

2018-05-04  Richard Biener  <rguenther@suse.de>

PR middle-end/85588
* fold-const.c (negate_expr_p): Restrict negation of operand
zero of a division to when we know that can happen without
overflow.
(fold_negate_expr_1): Likewise.

* gcc.dg/torture/pr85588.c: New testcase.
* gcc.dg/torture/pr57656.c: Use dg-additional-options.

From-SVN: r261839

7 years agobackport: [multiple changes]
Richard Biener [Thu, 21 Jun 2018 07:24:06 +0000 (07:24 +0000)] 
backport: [multiple changes]

2018-06-21  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-08-21  Richard Biener  <rguenther@suse.de>

PR middle-end/81884
* tree-ssa-alias.c (stmt_kills_ref_p): Handle array accesses
at struct end conservatively when comparing common bases.

* g++.dg/torture/pr81884.C: New testcase.

2017-05-04  Richard Biener  <rguenther@suse.de>

  * tree.c (array_at_struct_end_p): Handle arrays at struct
end with flexarrays more conservatively.  Refactor and treat
arrays of arrays or aggregates more strict.  Fix
VIEW_CONVERT_EXPR handling.

2018-04-06  Richard Biener  <rguenther@suse.de>

PR middle-end/85244
* tree-dfa.c (get_ref_base_and_extent): Reset seen_variable_array_ref
after seeing a component reference with an adjacent field.  Treat
refs to arrays at struct end of external decls similar to
refs to unconstrained commons.

* gcc.dg/torture/pr85244-1.c: New testcase.
* gcc.dg/torture/pr85244-2.c: Likewise.

* gcc.dg/tree-prof/pr66295.c: Remove unsupported dg-error scanning.

From-SVN: r261833

7 years agoDaily bump.
GCC Administrator [Thu, 21 Jun 2018 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261827

7 years agotree-ssa-alias.c (stmt_kills_ref_p): Revert accidentially committed change.
Richard Biener [Wed, 20 Jun 2018 13:16:58 +0000 (13:16 +0000)] 
tree-ssa-alias.c (stmt_kills_ref_p): Revert accidentially committed change.

2018-06-20  Richard Biener  <rguenther@suse.de>

* tree-ssa-alias.c (stmt_kills_ref_p): Revert accidentially
committed change.

From-SVN: r261801

7 years agobackport: [multiple changes]
Richard Biener [Wed, 20 Jun 2018 13:10:21 +0000 (13:10 +0000)] 
backport: [multiple changes]

2018-06-20  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-03-16  Richard Biener  <rguenther@suse.de>

PR c/84873
* c-gimplify.c (c_gimplify_expr): Revert previous change.  Instead
unshare the possibly folded expression.

2018-03-15  Richard Biener  <rguenther@suse.de>

PR c/84873
* c-gimplify.c (c_gimplify_expr): Do not fold expressions.

* c-c++-common/pr84873.c: New testcase.

2018-05-02  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85597
* tree-vect-stmts.c (vectorizable_operation): For ternary SLP
do not use split vect_get_vec_defs call but call vect_get_slp_defs
directly.

* gcc.dg/vect/pr85597.c: New testcase.

From-SVN: r261800

7 years agoBackport PRs 82264, 82285, 82402, 82697, 82765, 83623, 83713
Richard Biener [Wed, 20 Jun 2018 11:09:28 +0000 (11:09 +0000)] 
Backport PRs 82264, 82285, 82402, 82697, 82765, 83623, 83713

2018-06-20  Richard Biener  <rguenther@suse.de>

Backport from mainline
2018-01-01  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/83623
* expmed.c (expand_shift_1): For 2-byte rotates by BITS_PER_UNIT,
check for bswap in mode rather than HImode and use that in expand_unop
too.

* gcc.dg/pr83623.c: New test.

2017-09-26  Richard Biener  <rguenther@suse.de>

Backport from mainline
2017-09-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82264
* tree-ssa-sccvn.c (vn_phi_eq): Use safe_dyn_cast to check
for GIMPLE_CONDs.
(vn_phi_lookup): Likewise.
(vn_phi_insert): Likewise.
* is-a.h (safe_dyn_cast): New.

* gcc.dg/torture/pr82264.c: New testcase.

2017-09-25  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82285
* tree-vect-patterns.c (vect_recog_bool_pattern): Also handle
enumeral types.

* gcc.dg/torture/pr82285.c: New testcase.

2017-11-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82402
* tree-vect-loop-manip.c (create_lcssa_for_virtual_phi): Properly
set SSA_NAME_OCCURS_IN_ABNORMAL_PHI.

* gcc.dg/torture/pr82402.c: New testcase.

2017-10-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82697
* tree-ssa-phiopt.c (cond_store_replacement): Use alias-set
zero for conditional load and unconditional store.

* gcc.dg/torture/pr82697.c: New testcase.

2017-11-02  Richard Biener  <rguenther@suse.de>

PR middle-end/82765
* varasm.c (decode_addr_const): Make offset HOST_WIDE_INT.
Truncate ARRAY_REF index and element size.

* gcc.dg/pr82765.c: New testcase.

2018-01-08  Richard Biener  <rguenther@suse.de>

PR middle-end/83713
* convert.c (do_narrow): Properly guard TYPE_OVERFLOW_WRAPS checks.

* g++.dg/torture/pr83713.C: New testcase.

From-SVN: r261799

7 years agoDaily bump.
GCC Administrator [Wed, 20 Jun 2018 00:16:21 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261776

7 years agoxtensa: fix PR target/65416
Max Filippov [Tue, 19 Jun 2018 21:08:46 +0000 (21:08 +0000)] 
xtensa: fix PR target/65416

The issue is caused by reordering of stack pointer update after stack
space allocation with instructions that write to the allocated stack
space. In windowed ABI register spill area for the previous call frame
is located just below the stack pointer and may be reloaded back into
the register file on movsp.
Implement allocate_stack pattern for windowed ABI configuration and
insert an instruction that prevents reordering of frame memory access
and stack pointer update.

gcc/
2018-06-19  Max Filippov  <jcmvbkbc@gmail.com>

Backport from mainline
2018-06-19  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/xtensa.md (UNSPEC_FRAME_BLOCKAGE): New unspec
constant.
(allocate_stack, frame_blockage, *frame_blockage): New patterns.

From-SVN: r261765

7 years agoDaily bump.
GCC Administrator [Tue, 19 Jun 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261721

7 years agoDaily bump.
GCC Administrator [Mon, 18 Jun 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261692

7 years agoDaily bump.
GCC Administrator [Sun, 17 Jun 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261683

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

From-SVN: r261671

7 years agoPartial backport r256656
Martin Liska [Fri, 15 Jun 2018 08:51:28 +0000 (10:51 +0200)] 
Partial backport r256656

2018-06-15  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-01-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>

* lex.c (search_line_fast): Remove illegal coercion of an
unaligned pointer value to vector pointer type and replace with
use of __builtin_vec_vsx_ld () built-in function, which operates
on unaligned pointer values.

From-SVN: r261621

7 years agoDaily bump.
GCC Administrator [Fri, 15 Jun 2018 00:16:26 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261614

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

From-SVN: r261577

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

From-SVN: r261532

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

From-SVN: r261469

7 years agoDaily bump.
GCC Administrator [Mon, 11 Jun 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261390

7 years agoDaily bump.
GCC Administrator [Sun, 10 Jun 2018 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261378

7 years agore PR fortran/85138 (ICE with generic function)
Steven G. Kargl [Sat, 9 Jun 2018 18:35:58 +0000 (18:35 +0000)] 
re PR fortran/85138 (ICE with generic function)

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85138
PR fortran/85996
PR fortran/86051
* decl.c (gfc_match_char_spec): Use private namespace in attempt to
reduce a charlen to a constant.

2018-06-09  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85138
PR fortran/85996
PR fortran/86051
* gfortran.dg/pr85138_1.f90: New test.
* gfortran.dg/pr85138_2.f90: Ditto.
* gfortran.dg/pr85996.f90: Ditto.

From-SVN: r261372

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

From-SVN: r261354

7 years agoDaily bump.
GCC Administrator [Fri, 8 Jun 2018 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261300

7 years agobackport: re PR target/63177 (Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend...
Peter Bergner [Thu, 7 Jun 2018 14:03:35 +0000 (09:03 -0500)] 
backport: re PR target/63177 (Powerpc no-vfa-vect-depend-2.c and no-vfa-vect-depend-3.c failures)

Backport from mainline
2018-06-06  Peter Bergner  <bergner@vnet.ibm.com>

PR target/63177
* /config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mpower9.
Don't handle -mcpu=power8 if -mpower9-vector is also used.

From-SVN: r261277

7 years agoDaily bump.
GCC Administrator [Thu, 7 Jun 2018 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261256

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

From-SVN: r261223

7 years agoS/390: Fix __builtin_tbeginc signature
Andreas Krebbel [Tue, 5 Jun 2018 14:08:59 +0000 (14:08 +0000)] 
S/390: Fix __builtin_tbeginc signature

The builtin was accidentally defined to have an integer return value.
Fixed with the attached patch.

gcc/ChangeLog:

2018-06-05  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2018-06-05  Andreas Krebbel  <krebbel@linux.ibm.com>

* config/s390/s390-builtin-types.def: Add void function type.
* config/s390/s390-builtins.def: Use the function type for the
tbeginc builtin.

gcc/testsuite/ChangeLog:

2018-06-05  Andreas Krebbel  <krebbel@linux.ibm.com>

Backport from mainline
2018-06-05  Andreas Krebbel  <krebbel@linux.ibm.com>

* gcc.target/s390/htm-builtins-compile-4.c: New test.

From-SVN: r261203

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

From-SVN: r261177

7 years agoDaily bump.
GCC Administrator [Mon, 4 Jun 2018 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261133

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

From-SVN: r261117

7 years agobackport: trans.c (Call_to_gnu): If this is a function call and there is no target...
Eric Botcazou [Sat, 2 Jun 2018 09:58:46 +0000 (09:58 +0000)] 
backport: trans.c (Call_to_gnu): If this is a function call and there is no target...

Backport from mainline
2018-05-31  Eric Botcazou  <ebotcazou@adacore.com>

* gcc-interface/trans.c (Call_to_gnu): If this is a function call and
there is no target, also create a temporary for the return value for
an allocator if the type is an unconstrained record type with default
discriminant.

From-SVN: r261105

7 years agoDaily bump.
GCC Administrator [Sat, 2 Jun 2018 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261093

7 years agobackport: [multiple changes]
Bill Schmidt [Fri, 1 Jun 2018 13:00:57 +0000 (13:00 +0000)] 
backport: [multiple changes]

2018-06-01  Bill Schmidt  <wschmidt@linux.ibm.com>

PR tree-optimization/85712
Backport from mainline:
2018-05-23  Bill Schmidt  <wschmidt@linux.ibm.com>

PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add
first_interp field.
(alloc_cand_and_find_basis): Initialize first_interp field.
(slsr_process_mul): Modify first_interp field.
(slsr_process_add): Likewise.
(slsr_process_cast): Modify first_interp field for each new
interpretation.
(slsr_process_copy): Likewise.
(dump_candidate): Dump first_interp field.
(replace_mult_candidate): Process all interpretations, not just
subsequent ones.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.

Backport from mainline:
2018-05-25  Bill Schmidt  <wschmidt@linux.ibm.com>

PR tree-optimization/85712
* gimple-ssa-strength-reduction.c (replace_one_candidate): Skip if
this candidate has already been replaced in-situ by a copy.

From-SVN: r261067

7 years agoDaily bump.
GCC Administrator [Fri, 1 Jun 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r261047

7 years agoDaily bump.
GCC Administrator [Thu, 31 May 2018 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260985

7 years agoDaily bump.
GCC Administrator [Wed, 30 May 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260909

7 years agoDaily bump.
GCC Administrator [Tue, 29 May 2018 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260853

7 years agoDaily bump.
GCC Administrator [Mon, 28 May 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260811

7 years agoDaily bump.
GCC Administrator [Sun, 27 May 2018 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260798

7 years agoDaily bump.
GCC Administrator [Sat, 26 May 2018 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260786

7 years agore PR fortran/85895 (ICE in gfc_conv_array_ref, at fortran/trans-array.c:3518)
Steven G. Kargl [Fri, 25 May 2018 20:02:05 +0000 (20:02 +0000)] 
re PR fortran/85895 (ICE in gfc_conv_array_ref, at fortran/trans-array.c:3518)

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85895
Backport from trunk
* resolve.c (resolve_sync): Resolve expression before checking for
an error.

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85895
Backport from trunk
* gfortran.dg/coarray_3.f90: Fix invalid testcase.
* gfortran.dg/pr85895.f90: New test.

From-SVN: r260778

7 years agore PR fortran/85780 (ICE in resolve_fl_procedure, at fortran/resolve.c:12504)
Steven G. Kargl [Fri, 25 May 2018 19:54:51 +0000 (19:54 +0000)] 
re PR fortran/85780 (ICE in resolve_fl_procedure, at fortran/resolve.c:12504)

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85780
Backport from trunk
* resolve.c (resolve_fl_procedure): Avoid NULL dereference.

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85780
Backport from trunk
* gfortran.dg/pr85780.f90: New test.

From-SVN: r260777

7 years agore PR fortran/85779 (ICE in gfc_typename, at fortran/misc.c:156)
Steven G. Kargl [Fri, 25 May 2018 19:45:57 +0000 (19:45 +0000)] 
re PR fortran/85779 (ICE in gfc_typename, at fortran/misc.c:156)

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85779
Backport from trunk
* decl.c (gfc_match_derived_decl): Fix NULL pointer dereference.

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85779
Backport from trunk
* gfortran.dg/pr85779_1.f90: New test.
* gfortran.dg/pr85779_2.f90: Ditto.
* gfortran.dg/pr85779_3.f90: Ditto.

From-SVN: r260776

7 years agore PR fortran/85543 (ICE in update_current_proc_array_outer_dependency, at fortran...
Steven G. Kargl [Fri, 25 May 2018 19:38:11 +0000 (19:38 +0000)] 
re PR fortran/85543 (ICE in update_current_proc_array_outer_dependency, at fortran/resolve.c:3060)

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85543
Backport from trunk
* resolve.c (update_current_proc_array_outer_dependency): Avoid NULL
pointer dereference.

2018-05-25  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85543
Backport from trunk
* gfortran.dg/pr85543.f90: New test.

From-SVN: r260775

7 years agore PR target/85903 (FAIL: gcc.target/i386/avx512dq-vcvtuqq2pd-2.c)
Uros Bizjak [Fri, 25 May 2018 13:39:55 +0000 (15:39 +0200)] 
re PR target/85903 (FAIL: gcc.target/i386/avx512dq-vcvtuqq2pd-2.c)

* config/i386/sse.md (cvtusi2<ssescalarmodesuffix>64<round_name>):
Add {q} suffix to insn mnemonic.

PR target/85903
* config/i386/sse.md (movdi_to_sse): Do not generate pseudo
when memory input operand is handled.

testsuite/ChangeLog:

* gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Update scan string.
* gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Ditto.

From-SVN: r260759

7 years agoDaily bump.
GCC Administrator [Fri, 25 May 2018 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260700

7 years agoDaily bump.
GCC Administrator [Thu, 24 May 2018 00:16:11 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260630

7 years agoDaily bump.
GCC Administrator [Wed, 23 May 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260558

7 years agoDaily bump.
GCC Administrator [Tue, 22 May 2018 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260494

7 years agoDaily bump.
GCC Administrator [Mon, 21 May 2018 00:16:14 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260428

7 years agoDaily bump.
GCC Administrator [Sun, 20 May 2018 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260405

7 years agoDaily bump.
GCC Administrator [Sat, 19 May 2018 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260385

7 years agoDaily bump.
GCC Administrator [Fri, 18 May 2018 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260344

7 years agore PR fortran/82814 (ICE from submodule character function)
Paul Thomas [Thu, 17 May 2018 15:31:42 +0000 (15:31 +0000)] 
re PR fortran/82814 (ICE from submodule character function)

2017-05-17  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/82814
* gfortran.dg/submodule_31.f08: New test.

From-SVN: r260325

7 years agoCheck is_single_const in intersect_with_plats
Martin Jambor [Thu, 17 May 2018 12:18:06 +0000 (14:18 +0200)] 
Check is_single_const in intersect_with_plats

2018-05-17  Martin Jambor  <mjambor@suse.cz>

Backport from mainline
2018-05-11  Martin Jambor  <mjambor@suse.cz>

PR ipa/85655
* ipa-cp.c (intersect_with_plats): Check that the lattice contains
single const.

From-SVN: r260319

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

From-SVN: r260301

7 years agore PR fortran/83149 ([6- and 7-branches] Missing test for sym->ns->proc_name: crash_s...
Paul Thomas [Wed, 16 May 2018 11:42:47 +0000 (11:42 +0000)] 
re PR fortran/83149 ([6- and 7-branches] Missing test for sym->ns->proc_name: crash_signal in toplev.c:325)

2018-05-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83149
Backport from trunk
* trans-decl.c (gfc_finish_var_decl): Test sym->ns->proc_name
before accessing its components.
* trans-types.c (gfc_sym_type): If a character result has null
backend_decl, try the procedure symbol.

2018-05-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83149
Backport from trunk
* gfortran.dg/pr83149_1.f90: New test.
* gfortran.dg/pr83149.f90: Additional source for previous.
* gfortran.dg/pr83149_b.f90: New test.
* gfortran.dg/pr83149_a.f90: Additional source for previous.

From-SVN: r260286

7 years agore PR fortran/83898 (ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181)
Paul Thomas [Wed, 16 May 2018 10:41:48 +0000 (10:41 +0000)] 
re PR fortran/83898 (ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7181)

2018-16-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83898
Backport from trunk
* trans-stmt.c (trans_associate_var): Do not set cst_array_ctor
for characters.

2018-16-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83898
Backport from trunk
* gfortran.dg/associate_33.f03 : New test.

From-SVN: r260284

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

From-SVN: r260274

7 years agoDaily bump.
GCC Administrator [Tue, 15 May 2018 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260245

7 years agoPR libstdc++/67554 Do not pass null pointers to memcpy
Jonathan Wakely [Mon, 14 May 2018 22:35:44 +0000 (23:35 +0100)] 
PR libstdc++/67554 Do not pass null pointers to memcpy

PR libstdc++/67554
* include/bits/valarray_array.h (_Array_copy_ctor<_Tp, true>)
(_Array_copier<_Tp, true>): Do not pass null pointers to memcpy.

From-SVN: r260244

7 years agoDaily bump.
GCC Administrator [Mon, 14 May 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260218

7 years agore PR fortran/68846 (Pointer function as LValue doesn't work when the assignment...
Paul Thomas [Sun, 13 May 2018 08:34:50 +0000 (08:34 +0000)] 
re PR fortran/68846 (Pointer function as LValue doesn't work when the assignment regards a dummy argument.)

2018-05-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68846
PR fortran/70864
Backport from trunk
* resolve.c (get_temp_from_expr): The temporary must not have
dummy or intent attributes.

2018-05-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/68846
Backport from trunk
* gfortran.dg/temporary_3.f90 : New test.

PR fortran/70864
Backport from trunk
* gfortran.dg/temporary_2.f90 : New test.

From-SVN: r260208

7 years agoDaily bump.
GCC Administrator [Sun, 13 May 2018 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260202

7 years agore PR fortran/85542 (ICE in check_inquiry, at fortran/expr.c:2426)
Steven G. Kargl [Sat, 12 May 2018 17:17:19 +0000 (17:17 +0000)] 
re PR fortran/85542 (ICE in check_inquiry, at fortran/expr.c:2426)

2018-05-12  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85542
Backport from trunk
* expr.c (check_inquiry): Avoid NULL pointer dereference.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85542
Backport from trunk
* gfortran.dg/pr85542.f90: New test.

From-SVN: r260198

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

From-SVN: r260191

7 years agore PR fortran/70870 (Segmentation violation in gfc_assign_data_value)
Steven G. Kargl [Fri, 11 May 2018 18:35:20 +0000 (18:35 +0000)] 
re PR fortran/70870 (Segmentation violation in gfc_assign_data_value)

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70870
Backport from trunk
* data.c (gfc_assign_data_value): Check that a data object does
not also have default initialization.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/70870
Backport from trunk
* gfortran.dg/pr70870_1.f90: New test.

From-SVN: r260181

7 years agore PR fortran/85521 (ICE in gfc_resolve_character_array_constructor, at fortran/array...
Steven G. Kargl [Fri, 11 May 2018 18:34:14 +0000 (18:34 +0000)] 
re PR fortran/85521 (ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2049)

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85521
Backport from trunk
* array.c (gfc_resolve_character_array_constructor): Substrings
with upper bound smaller than lower bound are zero length strings.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85521
Backport from trunk
* gfortran.dg/pr85521_1.f90: New test.
* gfortran.dg/pr85521_2.f90: New test.

From-SVN: r260180

7 years agore PR fortran/85687 (ICE in gfc_sym_identifier, at fortran/trans-decl.c:351)
Steven G. Kargl [Fri, 11 May 2018 18:33:05 +0000 (18:33 +0000)] 
re PR fortran/85687 (ICE in gfc_sym_identifier, at fortran/trans-decl.c:351)

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85687
Backport from trunk
* check.c (gfc_check_rank): Check that the argument is a data object.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85687
Backport from trunk
* gfortran.dg/pr85687.f90: new test.

From-SVN: r260179

7 years ago[arm] PR target/83687: Fix invalid combination of VSUB + VABS into VABD
Kyrylo Tkachov [Fri, 11 May 2018 09:35:31 +0000 (09:35 +0000)] 
[arm] PR target/83687: Fix invalid combination of VSUB + VABS into VABD

PR target/83687
* config/arm/neon.md (neon_vabd<mode>_2): Use VCVTF mode iterator.
Remove integer-related logic from pattern.
(neon_vabd<mode>_3): Likewise.

* gcc.target/arm/neon-combine-sub-abs-into-vabd.c: Delete integer
tests.
* gcc.target/arm/pr83687.c: New test.

From-SVN: r260159

7 years agoDaily bump.
GCC Administrator [Fri, 11 May 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260144

7 years agoDocument Dual ABI for std::ios_base::failure
Jonathan Wakely [Thu, 10 May 2018 19:27:14 +0000 (20:27 +0100)] 
Document Dual ABI for std::ios_base::failure

* doc/xml/manual/debug_mode.xml: Add array and forward_list to list
of C++11 containers with Debug Mode support.
* doc/xml/manual/using.xml: Document Dual ABI for ios_base::failure.
* doc/html/*: Regenerate.

From-SVN: r260132

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

From-SVN: r260101

7 years agoDaily bump.
GCC Administrator [Wed, 9 May 2018 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260060

7 years agoDaily bump.
GCC Administrator [Tue, 8 May 2018 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r260018

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

From-SVN: r259983

7 years agore PR fortran/85507 (ICE in gfc_dep_resolver, at fortran/dependency.c:2258)
Andre Vehreschild [Sun, 6 May 2018 12:14:11 +0000 (14:14 +0200)] 
re PR fortran/85507 (ICE in gfc_dep_resolver, at fortran/dependency.c:2258)

gcc/fortran/ChangeLog:

2018-05-06  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/85507
        Backport from trunk.
        * dependency.c (gfc_dep_resolver): Revert looking at coarray dimension
        introduced by r259385.
        * trans-intrinsic.c (conv_caf_send): Always report a dependency for
        same variables in coarray assignments.

gcc/testsuite/ChangeLog:

2018-05-06  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/85507
        Backport from trunk.
        * gfortran.dg/coarray_dependency_1.f90: New test.
        * gfortran.dg/coarray_lib_comm_1.f90: Fix counting caf-expressions.

From-SVN: r259978

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

From-SVN: r259970

7 years agoDaily bump.
GCC Administrator [Sat, 5 May 2018 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259962

7 years agoDaily bump.
GCC Administrator [Fri, 4 May 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259914

7 years agoPR libstdc++/85632 fix wraparound in filesystem::space
Jonathan Wakely [Thu, 3 May 2018 20:39:31 +0000 (21:39 +0100)] 
PR libstdc++/85632 fix wraparound in filesystem::space

On 32-bit targets any values over 4GB would wrap and produce the wrong
result.

PR libstdc++/85632 use uintmax_t for arithmetic
* src/filesystem/ops.cc (experimental::filesystem::space): Perform
arithmetic in result type.
* testsuite/experimental/filesystem/operations/space.cc: New.

From-SVN: r259911

7 years agoDaily bump.
GCC Administrator [Thu, 3 May 2018 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259871

7 years agoDaily bump.
GCC Administrator [Wed, 2 May 2018 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259815

7 years agoDaily bump.
GCC Administrator [Tue, 1 May 2018 00:16:07 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259784

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

From-SVN: r259750

7 years agoDaily bump.
GCC Administrator [Sun, 29 Apr 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259744

7 years agore PR fortran/81773 ([Coarray] Get with vector index on lhs leads to incorrect caf_ge...
Andre Vehreschild [Sat, 28 Apr 2018 14:54:09 +0000 (16:54 +0200)] 
re PR fortran/81773 ([Coarray] Get with vector index on lhs leads to incorrect caf_get_by_ref() call.)

gcc/fortran/ChangeLog:

2018-04-28  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/81773
PR fortran/83606
Backport from trunk
* dependency.c (gfc_dep_resolver): Coarray indexes are to be ignored
during dependency computation.  They define no data dependency.
* trans-array.c (conv_array_index_offset): The stride can not be set
here, prevent fail.
* trans-intrinsic.c (conv_caf_send): Add creation of temporary array
for caf_get's result and copying to the array with vectorial
indexing.

gcc/testsuite/ChangeLog:

2018-04-28  Andre Vehreschild  <vehre@gcc.gnu.org>

PR fortran/81773
PR fortran/83606
Backport from trunk
* gfortran.dg/coarray/get_to_indexed_array_1.f90: New test.
* gfortran.dg/coarray/get_to_indirect_array.f90: New test.

From-SVN: r259741

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

From-SVN: r259734

7 years agoDaily bump.
GCC Administrator [Fri, 27 Apr 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259692

7 years agoDaily bump.
GCC Administrator [Thu, 26 Apr 2018 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r259659

7 years agoBackport r259431
Martin Liska [Wed, 25 Apr 2018 07:41:44 +0000 (09:41 +0200)] 
Backport r259431

2018-04-25  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-04-17  Martin Liska  <mliska@suse.cz>

PR lto/85405
* ipa-devirt.c (odr_types_equivalent_p): Remove trailing
in message, remote space in between '_G' and '('.

From-SVN: r259634

7 years agoBackport r259429
Martin Liska [Wed, 25 Apr 2018 07:41:25 +0000 (09:41 +0200)] 
Backport r259429

2018-04-25  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-04-17  Jan Hubicka  <jh@suse.cz>

PR lto/85405
* ipa-devirt.c (odr_types_equivalent_p): Handle bit fields.

From-SVN: r259633

7 years agoBackport r259274
Martin Liska [Wed, 25 Apr 2018 07:40:46 +0000 (09:40 +0200)] 
Backport r259274

2018-04-25  Martin Liska  <mliska@suse.cz>

Backport from mainline
2018-04-10  Martin Liska  <mliska@suse.cz>

PR lto/85248
* lto-symtab.c (lto_symtab_merge_p): Do not check for
TREE_VALUES of error attributes.

From-SVN: r259632