]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
5 years agobackport: re PR middle-end/82564 (ICE at -O1 and above: in assign_stack_temp_for_type...
Jakub Jelinek [Fri, 30 Aug 2019 11:26:01 +0000 (13:26 +0200)] 
backport: re PR middle-end/82564 (ICE at -O1 and above: in assign_stack_temp_for_type, at function.c:783)

Backported from mainline
2019-01-05  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/82564
PR target/88620
* expr.c (expand_assignment): For calls returning VLA structures
if to_rtx is not a MEM, force it into a stack temporary.

* gcc.dg/nested-func-12.c: New test.
* gcc.c-torture/compile/pr82564.c: New test.

From-SVN: r275085

5 years agobackport: re PR target/88594 (ICE in int_mode_for_mode, at stor-layout.c:403)
Jakub Jelinek [Fri, 30 Aug 2019 11:25:16 +0000 (13:25 +0200)] 
backport: re PR target/88594 (ICE in int_mode_for_mode, at stor-layout.c:403)

Backported from mainline
2019-01-04  Jakub Jelinek  <jakub@redhat.com>

PR target/88594
* config/i386/i386.c (ix86_expand_divmod_libfunc): Use mode instead
of GET_MODE (opN) as modes of the libcall arguments.

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

From-SVN: r275084

5 years agobackport: re PR debug/88644 (Unexpected pub type info eliminated after r246973 (cause...
Jakub Jelinek [Fri, 30 Aug 2019 11:24:34 +0000 (13:24 +0200)] 
backport: re PR debug/88644 (Unexpected pub type info eliminated after r246973 (causes pubtypes-*.c to regress).)

Backported from mainline
2019-01-03  Jakub Jelinek  <jakub@redhat.com>

PR debug/88644
* dwarf2out.c (modified_type_die): If type is equal to sizetype,
change it to qualified_type.

* gcc.dg/debug/dwarf2/pr88644.c: New test.

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

* gcc.dg/pubtypes-2.c: Adjust expected pubtypes length.
* gcc.dg/pubtypes-3.c: Likewise.
* gcc.dg/pubtypes-4.c: Likewise.

From-SVN: r275083

5 years agobackport: re PR middle-end/85594 (ICE during expand when compiling with -fwrapv ...
Jakub Jelinek [Fri, 30 Aug 2019 11:23:16 +0000 (13:23 +0200)] 
backport: re PR middle-end/85594 (ICE during expand when compiling with -fwrapv -fopenmp)

Backported from mainline
2018-12-21  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/85594
PR middle-end/88553
* omp-expand.c (extract_omp_for_update_vars): Regimplify the condition
if needed.
(expand_omp_for_generic): Don't clobber t temporary for ordered loops.

* gcc.dg/gomp/pr85594.c: New test.
* gcc.dg/gomp/pr88553.c: New test.

From-SVN: r275082

5 years agobackport: re PR rtl-optimization/88563 (wrong code with -O2 -fno-code-hoisting -fno...
Jakub Jelinek [Fri, 30 Aug 2019 11:22:27 +0000 (13:22 +0200)] 
backport: re PR rtl-optimization/88563 (wrong code with -O2 -fno-code-hoisting -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-forwprop -fno-tree-fre -fno-tree-pre -fno-tree-vrp)

Backported from mainline
2018-12-21  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/88563
* expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Swap innermode
and mode arguments to convert_modes.  Likewise swap mode and word_mode
arguments.  Handle both arguments with VOIDmode before convert_modes
of one of them.  Formatting fixes.

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

From-SVN: r275081

5 years agobackport: re PR rtl-optimization/88470 (ICE in maybe_record_trace_start, at dwarf2cfi...
Jakub Jelinek [Fri, 30 Aug 2019 11:21:45 +0000 (13:21 +0200)] 
backport: re PR rtl-optimization/88470 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2354)

Backported from mainline
2018-12-13  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/88470
* cfgcleanup.c (outgoing_edges_match): If the function is
shrink-wrapped and bb1 ends with a JUMP_INSN with a single fake
edge to EXIT, return false.

* gcc.target/i386/pr88470.c: New test.

From-SVN: r275080

5 years agobackport: re PR rtl-optimization/88416 (ICE in in df_uses_record, at df-scan.c:3013)
Jakub Jelinek [Fri, 30 Aug 2019 11:20:47 +0000 (13:20 +0200)] 
backport: re PR rtl-optimization/88416 (ICE in in df_uses_record, at df-scan.c:3013)

Backported from mainline
2018-12-13  Jakub Jelinek  <jakub@redhat.com>

PR rtl-optimization/88416
* valtrack.c (cleanup_auto_inc_dec): Handle pre/post-inc/dec/modify
even if !AUTO_INC_DEC.

* gcc.target/i386/pr88416.c: New test.

From-SVN: r275079

5 years agobackport: re PR c++/86669 (Complete object constructor clone omits length for a c...
Jakub Jelinek [Fri, 30 Aug 2019 11:20:08 +0000 (13:20 +0200)] 
backport: re PR c++/86669 (Complete object constructor clone omits length for a c++11 braced initialiser)

Backported from mainline
2018-12-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/86669
* call.c (make_temporary_var_for_ref_to_temp): Call pushdecl even for
automatic vars.

* g++.dg/cpp0x/initlist105.C: New test.
* g++.dg/cpp0x/initlist106.C: New test.
* g++.dg/other/pr86669.C: New test.

From-SVN: r275078

5 years agobackport: re PR target/85593 (GCC on ARM allocates R3 for local variable when calling...
Jakub Jelinek [Fri, 30 Aug 2019 11:19:17 +0000 (13:19 +0200)] 
backport: re PR target/85593 (GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled)

Backported from mainline
2018-12-07  Jakub Jelinek  <jakub@redhat.com>

PR target/85593
* final.c (rest_of_handle_final): Don't call collect_fn_hard_reg_usage
for functions with naked attribute.

From-SVN: r275077

5 years agobackport: re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans...
Jakub Jelinek [Fri, 30 Aug 2019 11:18:41 +0000 (13:18 +0200)] 
backport: re PR fortran/88377 (ICE in gfc_omp_clause_copy_ctor, at fortran/trans-openmp.c:614)

Backported from mainline
2018-12-07  Jakub Jelinek  <jakub@redhat.com>

PR fortran/88377
* trans-openmp.c (gfc_omp_clause_default_ctor,
gfc_omp_clause_copy_ctor, gfc_omp_clause_assign_op,
gfc_omp_clause_linear_ctor, gfc_omp_clause_dtor): Only consider
GFC_DECL_GET_SCALAR_ALLOCATABLE vars as scalar allocatables if they
have pointer type.

* gfortran.dg/gomp/pr88377.f90: New test.

From-SVN: r275076

5 years agobackport: re PR c++/87506 (ICE with inherited constexpr constructor with const argument)
Jakub Jelinek [Fri, 30 Aug 2019 11:17:41 +0000 (13:17 +0200)] 
backport: re PR c++/87506 (ICE with inherited constexpr constructor with const argument)

Backported from mainline
2018-12-07  Jakub Jelinek  <jakub@redhat.com>

PR c++/87506
* constexpr.c (adjust_temp_type): Handle EMPTY_CLASS_EXPR.

* g++.dg/cpp0x/constexpr-87506.C: New test.

From-SVN: r275075

5 years agobackport: re PR c++/88103 (Wrong value category when conditional expression result...
Jakub Jelinek [Fri, 30 Aug 2019 11:16:55 +0000 (13:16 +0200)] 
backport: re PR c++/88103 (Wrong value category when conditional expression result is used as object expression)

Backported from mainline
2018-12-04  Jakub Jelinek  <jakub@redhat.com>

PR c++/88103
* typeck.c (build_class_member_access_expr): If unary_complex_lvalue
turned xvalue_p into non-xvalue_p, call move on it.

* g++.dg/cpp0x/rv-cond3.C: New test.

From-SVN: r275074

5 years agobackport: re PR tree-optimization/71109 (gcc ICE at -O3 on valid code on x86_64-linux...
Jakub Jelinek [Fri, 30 Aug 2019 11:16:10 +0000 (13:16 +0200)] 
backport: re PR tree-optimization/71109 (gcc ICE at -O3 on valid code on x86_64-linux-gnu in "maybe_record_trace_start")

Backported from mainline
2018-12-03  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/71109
* gcc.c-torture/compile/pr71109.c: New test.

From-SVN: r275073

5 years agobackport: re PR debug/85550 (-fdebug-types-section broken with DW_OP_addr in DW_AT_lo...
Jakub Jelinek [Fri, 30 Aug 2019 11:15:39 +0000 (13:15 +0200)] 
backport: re PR debug/85550 (-fdebug-types-section broken with DW_OP_addr in DW_AT_location)

Backported from mainline
2018-11-30  Jakub Jelinek  <jakub@redhat.com>

PR debug/85550
* g++.dg/debug/dwarf2/pr85550.C: New test.

From-SVN: r275072

5 years agobackport: re PR c++/88181 (ICE: verify_type failed (error: type variant differs by...
Jakub Jelinek [Fri, 30 Aug 2019 11:14:56 +0000 (13:14 +0200)] 
backport: re PR c++/88181 (ICE: verify_type failed (error: type variant differs by TYPE_PACKED))

Backported from mainline
2018-11-27  Jakub Jelinek  <jakub@redhat.com>

PR c++/88181
* class.c (fixup_attribute_variants): Also propagate TYPE_PACKED
to variants.

* g++.dg/debug/pr88181.C: New test.

From-SVN: r275071

5 years agobackport: re PR tree-optimization/87895 (ICE in purge_dead_edges, at cfgrtl.c:3246)
Jakub Jelinek [Fri, 30 Aug 2019 11:12:23 +0000 (13:12 +0200)] 
backport: re PR tree-optimization/87895 (ICE in purge_dead_edges, at cfgrtl.c:3246)

Backported from mainline
2018-11-20  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/87895
* omp-simd-clone.c (ipa_simd_modify_function_body): When removing
or replacing GIMPLE_RETURN, set EDGE_FALLTHRU on the edge to EXIT.
(simd_clone_adjust): Don't set EDGE_FALLTHRU here. In a loop that
redirects edges to EXIT to edges to incr_bb, iterate while EXIT
has any preds and always use EDGE_PRED (, 0).

* gcc.dg/gomp/pr87895-1.c: New test.
* gcc.dg/gomp/pr87895-2.c: New test.
* gcc.dg/gomp/pr87895-3.c: New test.

From-SVN: r275070

5 years agobackport: re PR c++/60994 (gcc does not recognize hidden/shadowed enumeration as...
Jakub Jelinek [Fri, 30 Aug 2019 11:09:57 +0000 (13:09 +0200)] 
backport: re PR c++/60994 (gcc does not recognize hidden/shadowed enumeration as valid nested-name-specifier)

Backported from mainline
2018-11-19  Jakub Jelinek  <jakub@redhat.com>

PR c++/60994
* g++.dg/lookup/pr60994.C: New test.

From-SVN: r275068

5 years agobackport: re PR fortran/87725 (OpenMP 4.5 clause schedule(simd,monotonic:static)...
Jakub Jelinek [Fri, 30 Aug 2019 11:09:22 +0000 (13:09 +0200)] 
backport: re PR fortran/87725 (OpenMP 4.5 clause schedule(simd,monotonic:static) not understood)

Backported from mainline
2018-10-25  Jakub Jelinek  <jakub@redhat.com>

PR fortran/87725
* openmp.c (gfc_match_omp_clauses): Parse simd, monotonic and
nonmonotonic modifiers regardless of if they have been parsed
already or if the opposite one has.  Fix up check whether
comma after modifier should be parsed.
(resolve_omp_clauses): Diagnose schedule modifier restrictions.

* c-c++-common/gomp/schedule-modifiers-1.c (bar): Separate modifier
from kind with a colon rather than comma.
* gfortran.dg/gomp/schedule-modifiers-1.f90: New test.
* gfortran.dg/gomp/schedule-modifiers-2.f90: New test.

From-SVN: r275067

5 years agobackport: re PR middle-end/87647 (ICE on valid code in decode_addr_const, at varasm...
Jakub Jelinek [Fri, 30 Aug 2019 11:08:10 +0000 (13:08 +0200)] 
backport: re PR middle-end/87647 (ICE on valid code in decode_addr_const, at varasm.c:2958)

Backported from mainline
2018-10-20  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/87647
* varasm.c (decode_addr_const): Handle COMPOUND_LITERAL_EXPR.

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

From-SVN: r275066

5 years agobackport: re PR middle-end/85488 (segmentation fault when compiling code using the...
Jakub Jelinek [Fri, 30 Aug 2019 11:07:22 +0000 (13:07 +0200)] 
backport: re PR middle-end/85488 (segmentation fault when compiling code using the ordered(n) clause in OpenMP 4.5)

Backported from mainline
2018-10-19  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/85488
PR middle-end/87649
* omp-low.c (check_omp_nesting_restrictions): Diagnose ordered without
depend closely nested inside of loop with ordered clause with
a parameter.

* c-c++-common/gomp/doacross-2.c: New test.
* c-c++-common/gomp/sink-3.c: Expect another error during error
recovery.

From-SVN: r275065

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

From-SVN: r275056

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

From-SVN: r275018

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

From-SVN: r274977

5 years agoDaily bump.
GCC Administrator [Tue, 27 Aug 2019 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274941

5 years agoDaily bump.
GCC Administrator [Mon, 26 Aug 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274916

5 years agore PR target/91533 (abs pattern generates MMX instructions but fails to call EMMS)
Uros Bizjak [Sun, 25 Aug 2019 19:51:45 +0000 (21:51 +0200)] 
re PR target/91533 (abs pattern generates MMX instructions but fails to call EMMS)

PR target/91533
Backport from mainline
2019-06-30  Uroš Bizjak  <ubizjak@gmail.com>

* config/i386/sse.md (ssse3_abs<mode>2): Rename from abs<mode>2.
* config/i386/i386-builtin.def (__builtin_ia32_pabsb):
Use CODE_FOR_ssse3_absv8qi2.
(__builtin_ia32_pabsw): Use CODE_FOR_ssse3_absv4hi2.
(__builtin_ia32_pabsd): Use CODE_FOR_ssse3_absv2si2.

From-SVN: r274914

5 years agoDaily bump.
GCC Administrator [Sun, 25 Aug 2019 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274904

5 years agoDaily bump.
GCC Administrator [Sat, 24 Aug 2019 00:16:23 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274895

5 years agoDaily bump.
GCC Administrator [Fri, 23 Aug 2019 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274840

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

From-SVN: r274813

5 years agore PR tree-optimization/91510 (r253207 fixed a wrong-code bug)
Richard Biener [Wed, 21 Aug 2019 13:44:45 +0000 (13:44 +0000)] 
re PR tree-optimization/91510 (r253207 fixed a wrong-code bug)

2019-08-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91510
Backport from mainline
2017-09-26  Martin Jambor  <mjambor@suse.cz>

* tree-sra.c (compare_access_positions): Put integral types first,
stabilize sorting of integral types, remove conditions putting
non-full-precision integers last.
(sort_and_splice_var_accesses): Disable scalarization if a
non-integert would be represented by a non-full-precision integer.

From-SVN: r274798

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

From-SVN: r274760

5 years ago* gcc.c-torture/execute/20190820-1.c: Fix typos.
Eric Botcazou [Tue, 20 Aug 2019 09:22:32 +0000 (09:22 +0000)] 
* gcc.c-torture/execute/20190820-1.c: Fix typos.

From-SVN: r274713

5 years ago* gcc.c-torture/execute/20190820-1.c: Do not use attribute noipa.
Eric Botcazou [Tue, 20 Aug 2019 09:21:28 +0000 (09:21 +0000)] 
* gcc.c-torture/execute/20190820-1.c: Do not use attribute noipa.

From-SVN: r274712

5 years agore PR rtl-optimization/91347 (hppa: wrong code generated with tail call optimisation)
Eric Botcazou [Tue, 20 Aug 2019 09:17:04 +0000 (09:17 +0000)] 
re PR rtl-optimization/91347 (hppa: wrong code generated with tail call optimisation)

PR rtl-optimization/91347
* dse.c (scan_insn): Call add_wild_read for non-const/memset tail calls
before reload if HARD_FRAME_POINTER_IS_ARG_POINTER.

From-SVN: r274711

5 years agoDaily bump.
GCC Administrator [Tue, 20 Aug 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274686

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

From-SVN: r274626

5 years agoDaily bump.
GCC Administrator [Sun, 18 Aug 2019 00:16:06 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274615

5 years agoDaily bump.
GCC Administrator [Sat, 17 Aug 2019 00:16:05 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274592

5 years agotest_summary: Do not escape "=".
Uros Bizjak [Fri, 16 Aug 2019 12:08:27 +0000 (14:08 +0200)] 
test_summary: Do not escape "=".

* test_summary: Do not escape "=".

From-SVN: r274568

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

From-SVN: r274552

5 years agoDaily bump.
GCC Administrator [Thu, 15 Aug 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274498

5 years agoDaily bump.
GCC Administrator [Wed, 14 Aug 2019 00:16:08 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274407

5 years agoDaily bump.
GCC Administrator [Tue, 13 Aug 2019 00:16:04 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274324

5 years agoDaily bump.
GCC Administrator [Mon, 12 Aug 2019 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274269

5 years agoDaily bump.
GCC Administrator [Sun, 11 Aug 2019 00:16:09 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r274258

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

From-SVN: r274245

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

From-SVN: r274221

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

From-SVN: r274202

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

From-SVN: r274152

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

From-SVN: r274131

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

From-SVN: r274100

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

From-SVN: r274051

6 years agobackport: re PR fortran/90786 (ICE on procedure pointer assignment to function with...
Thomas Koenig [Sat, 3 Aug 2019 11:50:39 +0000 (11:50 +0000)] 
backport: re PR fortran/90786 (ICE on procedure pointer assignment to function with class pointer result)

2019-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>

Backport from trunk
PR fortran/90786
PR fortran/90813
* trans-expr.c (pointer_assignment_is_proc_pointer) Remove as
it is very simple and only called from one place.
(gfc_trans_pointer_assignment): Rename non_proc_pointer_assign
as non_proc_ptr_assign. Assign to it directly, rather than call
to above, deleted function and use gfc_expr_attr instead of
only checking the reference chain.
* trans-decl.c (sym_identifier): New function.
(mangled_identifier): New function, doing most of the work
of gfc_sym_mangled_identifier.
(gfc_sym_mangled_identifier): Use mangled_identifier.  Add mangled
identifier to global symbol table.
(get_proc_pointer_decl): Use backend decl from global identifier
if present.

2019-08-03  Thomas Koenig  <tkoenig@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>

Backport from trunk
PR fortran/90786
PR fortran/90813
* gfortran.dg/proc_ptr_51.f90: New test.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r274038

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

From-SVN: r274034

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

From-SVN: r273990

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

From-SVN: r273957

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

From-SVN: r273917

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

From-SVN: r273893

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

From-SVN: r273861

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

From-SVN: r273847

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

From-SVN: r273840

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

From-SVN: r273820

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

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

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

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

From-SVN: r273795

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

From-SVN: r273779

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

From-SVN: r273750

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

From-SVN: r273709

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

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

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

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

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

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

From-SVN: r273666

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

From-SVN: r273653

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

From-SVN: r273637

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

From-SVN: r273612

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

From-SVN: r273587

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

From-SVN: r273559

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

From-SVN: r273538

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

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

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

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

From-SVN: r273527

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

From-SVN: r273502

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

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

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

gcc/ChangeLog:

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

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

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

gcc/testsuite/ChangeLog:

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

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

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

From-SVN: r273494

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

From-SVN: r273485

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

From-SVN: r273471

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

From-SVN: r273460

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

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

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

From-SVN: r273453

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

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

From-SVN: r273439

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

From-SVN: r273426

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

From-SVN: r273372

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

From-SVN: r273318

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

From-SVN: r273257

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

From-SVN: r273187

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

From-SVN: r273170

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

From-SVN: r273151

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

From-SVN: r273097

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

From-SVN: r273028

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

From-SVN: r272950

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

From-SVN: r272913

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

From-SVN: r272836

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

From-SVN: r272828

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

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

From-SVN: r272818

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

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

From-SVN: r272814

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

From-SVN: r272805

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

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

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

From-SVN: r272798

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

From-SVN: r272771