]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
5 years agodecl.c (annotate_value): Really test the sign of the value when deciding to build...
Eric Botcazou [Fri, 11 Oct 2019 08:57:37 +0000 (08:57 +0000)] 
decl.c (annotate_value): Really test the sign of the value when deciding to build a NEGATE_EXPR.

* gcc-interface/decl.c (annotate_value) <INTEGER_CST>: Really test the
sign of the value when deciding to build a NEGATE_EXPR.
<PLUS_EXPR>: Remove redundant line.
<BIT_AND_EXPR>: Do the negation here.

From-SVN: r276867

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

From-SVN: r276857

5 years agore PR fortran/91801 (ICE in gfc_simplify_reshape, at fortran/simplify.c:6733)
Steven G. Kargl [Thu, 10 Oct 2019 21:56:08 +0000 (21:56 +0000)] 
re PR fortran/91801 (ICE in gfc_simplify_reshape, at fortran/simplify.c:6733)

2019-10-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91801
* simplify.c (gfc_simplify_reshape): Convert a gcc_assert into a
gfc_error as a user can easily hit the condition.

2019-10-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91801
* gfortran.dg/pr91801.f90: New test.

From-SVN: r276853

5 years agore PR target/92022 (ICE in alpha_handle_trap_shadows, at config/alpha/alpha.c:8847)
Uros Bizjak [Thu, 10 Oct 2019 17:45:40 +0000 (19:45 +0200)] 
re PR target/92022 (ICE in alpha_handle_trap_shadows, at config/alpha/alpha.c:8847)

PR target/92022
* config/alpha/alpha.c (alpha_handle_trap_shadows): Skip DEBUG_INSN.

testsuite/ChangeLog:

PR target/92022
* g++.dg/pr92022.C: New test.

From-SVN: r276844

5 years agobackport: re PR target/88630 (Incorrect float negating together with convertion to...
Oleg Endo [Thu, 10 Oct 2019 15:24:05 +0000 (15:24 +0000)] 
backport: re PR target/88630 (Incorrect float negating together with convertion to int on ST-40)

gcc/
Backport from mainline
2019-10-10  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/88630
* config/sh/sh.h (TARGET_FPU_SH4_300): New macro.
* config/sh/sh.c (sh_option_override): Enable fsca and fsrra insns
also for TARGET_FPU_SH4_300.
(sh_emit_mode_set): Check for TARGET_FPU_SH4_300 instead of
TARGET_SH4_300.
* config/sh/sh.md (toggle_pr): Add TARGET_FPU_SH4_300 condition.
(negsf2): Expand to either negsf2_fpscr or negsf2_no_fpscr.
(*negsf2_i): Split into ...
(negsf2_fpscr, negsf2_no_fpscr): ... these new patterns.
(abssf2): Expand to either abssf2_fpsc or abssf2_no_fpsc.
(**abssf2_i): Split into ...
(abssf2_fpscr, abssf2_no_fpscr): ... these new patterns.
(negdf2): Expand to either negdf2_fpscr or negdf2_no_fpscr.
(*negdf2_i): Split into ...
(negdf2_fpscr, negdf2_no_fpscr): ... these new patterns.
(absdf2): Expand to either absdf2_fpscr or absdf2_no_fpsc.
(**abssf2_i): Split into ...
(absdf2_fpscr, absdf2_no_fpscr): ... these new patterns.

From-SVN: r276825

5 years agoS/390: Add support for z15 as CPU name.
Andreas Krebbel [Thu, 10 Oct 2019 09:09:42 +0000 (09:09 +0000)] 
S/390: Add support for z15 as CPU name.

So far z15 was identified as arch13. After the machine has been
announced we can now add the real name.

gcc/ChangeLog:

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

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

* common/config/s390/s390-common.c (PF_ARCH13): Rename to...
(PF_Z15): ... this.
* config.gcc: Add z15 as option for --with-arch and --with-tune
configure switches.
* config/s390/s390-c.c (s390_resolve_overloaded_builtin): Add
error reporting for unsupported builtins.
* config/s390/s390-opts.h (enum processor_type): Rename
PROCESSOR_8561_ARCH13 to PROCESSOR_8561_Z15.
* config/s390/8561.md: Rename arch13 to z15 throughout the file.
* config/s390/driver-native.c (s390_host_detect_local_cpu):
Likewise.
* config/s390/s390-builtins.def: Likewise.
* config/s390/s390.c (processor_table): Add z15 as option and keep arch13 as alternative.
(s390_expand_builtin): Add missing check for unsupported builtins.
(s390_canonicalize_comparison): Rename TARGET_ARCH13 to TARGET_Z15.
(s390_rtx_costs): Likewise.
(s390_get_sched_attrmask): Rename arch13 to z15.
(s390_get_unit_mask): Likewise.
(s390_is_fpd): Likewise.
(s390_is_fxd): Likewise.
* config/s390/s390.h (enum processor_flags): Likewise.
* config/s390/s390.md: Likewise.
* config/s390/vector.md: Likewise.
* config/s390/vx-builtins.md: Likewise.
* config/s390/s390.opt: Add z15 to processor_type value.

From-SVN: r276793

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

From-SVN: r276785

5 years agoDaily bump.
GCC Administrator [Wed, 9 Oct 2019 00:16:18 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276749

5 years agoPR c++/91740 - ICE with constexpr call and ?: in ARRAY_REF.
Marek Polacek [Tue, 8 Oct 2019 13:38:35 +0000 (13:38 +0000)] 
PR c++/91740 - ICE with constexpr call and ?: in ARRAY_REF.

* pt.c (build_non_dependent_expr): Call build_non_dependent_expr for
the first operand.

From-SVN: r276699

5 years agoDaily bump.
GCC Administrator [Tue, 8 Oct 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276684

5 years agobackport: re PR fortran/84487 (Large rodate section increase in 465.tonto with r254427)
Thomas Koenig [Mon, 7 Oct 2019 20:10:22 +0000 (20:10 +0000)] 
backport: re PR fortran/84487 (Large rodate section increase in 465.tonto with r254427)

2019-10-07  Thomas Koenig <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/84487
* trans-decl.c (gfc_get_symbol_decl): For __def_init, set
DECL_ARTIFICAL and do not set TREE_READONLY.

2019-10-07  Thomas Koenig <tkoenig@gcc.gnu.org>

Backport from trunk
PR fortran/84487
* gfortran.dg/typebound_call_22.f03: xfail.

From-SVN: r276672

5 years agobackport: re PR target/91275 (__builtin_crypto_vpmsumd gives different results -O...
Bill Schmidt [Mon, 7 Oct 2019 18:23:20 +0000 (18:23 +0000)] 
backport: re PR target/91275 (__builtin_crypto_vpmsumd gives different results -O[123] vs -O0)

[gcc]

2019-10-07  Bill Schmidt  <wschmidt@linux.ibm.com>

Backport from mainline
2019-10-01  Bill Schmidt  <wschmidt@linux.ibm.com>

PR target/91275
* config/rs6000/rs6000-p8swap.c (rtx_is_swappable_p): Don't swap
vpmsumd.

[gcc/testsuite]

2019-10-07  Bill Schmidt  <wschmidt@linux.ibm.com>

Backport from mainline
2019-10-01  Bill Schmidt  <wschmdit@linux.ibm.com>

PR target/91275
* gcc.target/powerpc/pr91275.c: New.

From-SVN: r276667

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

From-SVN: r276643

5 years agoDaily bump.
GCC Administrator [Sun, 6 Oct 2019 00:16:33 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276633

5 years agore PR fortran/47054 (Compilation error when cray pointers are declared in both host...
Steven G. Kargl [Sat, 5 Oct 2019 15:42:25 +0000 (15:42 +0000)] 
re PR fortran/47054 (Compilation error when cray pointers are declared in both host and internal subroutines)

2019-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/47054
* decl.c (variable_decl): Do not search parent namespace for symbol.

2019-10-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/47054
* gfortran.dg/pr47054_1.f90: New test
* gfortran.dg/pr47054_2.f90: Ditto.

From-SVN: r276628

5 years agoBackport fix for PR jit/91928
Andrea Corallo [Sat, 5 Oct 2019 09:02:25 +0000 (09:02 +0000)] 
Backport fix for PR jit/91928

gcc/ChangeLog

2019-10-05  Andrea Corallo  <andrea.corallo@arm.com>

Backport from mainline
2019-10-03  Andrea Corallo  <andrea.corallo@arm.com>
* gcc/ipa-cp.c (ipa_cp_c_finalize): Release ipcp_transformation_sum
when finished.
* ipa-prop.c (ipcp_free_transformation_sum): New function.
* ipa-prop.h (ipcp_free_transformation_sum): Add declaration.

From-SVN: r276625

5 years agore PR fortran/91942 (ICE in match_vtag, at fortran/io.c:1485)
Steven G. Kargl [Sat, 5 Oct 2019 04:05:05 +0000 (04:05 +0000)] 
re PR fortran/91942 (ICE in match_vtag, at fortran/io.c:1485)

2019-10-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91942
* io.c (match_vtag): Check for non-NULL result->symtree.
(match_out_tag): Check for invalid constant due to inquiry parameter.
(match_filepos): Instead of a syntax error, go to cleanup to get better
error messages.

2019-10-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91942
* gfortran.dg/pr91587.f90: Update dg-error regex.
* gfortran.dg/pr91942.f90: New test.

From-SVN: r276620

5 years agore PR fortran/91785 (ICE in check_assumed_size_reference, at fortran/resolve.c:1601)
Steven G. Kargl [Sat, 5 Oct 2019 03:55:05 +0000 (03:55 +0000)] 
re PR fortran/91785 (ICE in check_assumed_size_reference, at fortran/resolve.c:1601)

2019-10-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91785
* primary.c (gfc_match_varspec): Ensure an inquiry parameter has
it locus set.

2019-10-04  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91785
* gfortran.dg/pr91785.f90: New test.

From-SVN: r276619

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

From-SVN: r276617

5 years agoBackport fix for PR target/91769
Dragan Mladjenovic [Fri, 4 Oct 2019 11:10:01 +0000 (11:10 +0000)] 
Backport fix for PR target/91769

gcc/ChangeLog:

2019-10-04  Dragan Mladjenovic <dmladjenovic@wavecomp.com>

Backport from mainline
2019-10-03  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

PR target/91769
* config/mips/mips.c (mips_split_move): Use reg_overlap_mentioned_p
instead of REGNO equality check on addr.reg.

gcc/testsuite/ChangeLog:

2019-10-04  Dragan Mladjenovic <dmladjenovic@wavecomp.com>

Backport from mainline
2019-10-03  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

PR target/91769
* gcc.target/mips/pr91769.c: New test.

From-SVN: r276570

5 years agoBackprot fix for uninitialised use in mips_split_move
Dragan Mladjenovic [Fri, 4 Oct 2019 10:57:48 +0000 (10:57 +0000)] 
Backprot fix for uninitialised use in mips_split_move

Fixes PR target/91474 and PR target/91702.

2019-10-04  Dragan Mladjenovic  <dmladjenovic@wavecomp.com>

Backport from mainline
2019-07-07  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/mips/mips.c (mips_split_move): Zero-initialize addr
and check whether addr.reg is nonnull before using it.

From-SVN: r276569

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

From-SVN: r276559

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

From-SVN: r276501

5 years agobackport: re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)
Bernd Edlinger [Wed, 2 Oct 2019 13:22:37 +0000 (13:22 +0000)] 
backport: re PR fortran/91716 (ICE in output_constant, at varasm.c:5026)

2019-10-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Backport from mainline

        2019-09-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        PR fortran/91716
        * trans-array.c (gfc_conv_array_initializer): Always assign the
        array type of the field to the string constant.

        PR fortran/91716
        * gfortran.dg/pr91716.f90: New test.

From-SVN: r276458

5 years agoDaily bump.
GCC Administrator [Wed, 2 Oct 2019 00:16:15 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276437

5 years ago[multiple changes]
Steven G. Kargl [Tue, 1 Oct 2019 19:21:05 +0000 (19:21 +0000)] 
[multiple changes]

2019-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91864
* gcc/fortran/io.c (match_io_element): An inquiry parameter cannot be
read into.
* gcc/fortran/match.c (gfc_match_allocate): An inquiry parameter
can be neither an allocate-object nor stat variable.
(gfc_match_deallocate): An inquiry parameter cannot be deallocated.

2019-10-01 Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91864
* gcc/testsuite/gfortran.dg/pr91864.f90

From-SVN: r276425

5 years agobackport: re PR fortran/91802 (ICE in mio_name_expr_t, at fortran/module.c:2141)
Steven G. Kargl [Tue, 1 Oct 2019 18:58:01 +0000 (18:58 +0000)] 
backport: re PR fortran/91802 (ICE in mio_name_expr_t, at fortran/module.c:2141)

2019-10-01  Steven G. Kargl  <kargl@gcc.ngu.org>

Backport of r276254+276265
PR fortran/91802
* decl.c (attr_decl1): Check if rank+corank > 15.

2019-10-01  Steven G. Kargl  <kargl@gcc.ngu.org>

PR fortran/91802
* gfortran.dg/pr91802.f90: New test.

From-SVN: r276423

5 years agore PR fortran/91714 (Accepts type statement without delimiter in free form)
Steven G. Kargl [Tue, 1 Oct 2019 18:37:53 +0000 (18:37 +0000)] 
re PR fortran/91714 (Accepts type statement without delimiter in free form)

2019-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91714
* decl.c (gfc_match_decl_type_spec):  Issue errors for a few
mangled types.

2019-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91714
* gfortran.dg/dec_type_print_3.f90: Update dg-error regex.
* gfortran.dg/pr91714.f90: New test.

From-SVN: r276421

5 years agore PR fortran/91641 (ICE in gfc_conv_is_contiguous_expr, at fortran/trans-intrinsic...
Steven G. Kargl [Tue, 1 Oct 2019 18:16:36 +0000 (18:16 +0000)] 
re PR fortran/91641 (ICE in gfc_conv_is_contiguous_expr, at fortran/trans-intrinsic.c:2857)

2019-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91641
* check.c (gfc_check_is_contiguous): null() cannot be an actual
argument to is_contiguous().

2019-10-01  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91641
* gfortran.dg/pr91641.f90: New test.

From-SVN: r276419

5 years agobackport: re PR c++/88562 (Incorrect pointer incrementing on SH4)
Oleg Endo [Tue, 1 Oct 2019 14:58:10 +0000 (14:58 +0000)] 
backport: re PR c++/88562 (Incorrect pointer incrementing on SH4)

gcc/
2019-10-01  Oleg Endo  <olegendo@gcc.gnu.org>

Backport from mainline

2019-10-01  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/88562
* config/sh/sh.c (sh_extending_set_of_reg::use_as_extended_reg): Use
sh_check_add_incdec_notes to preserve REG_INC notes when replacing
a memory access insn.

From-SVN: r276412

5 years ago[AArch64] Don't split 64-bit constant stores to volatile location
Kyrylo Tkachov [Tue, 1 Oct 2019 10:33:40 +0000 (10:33 +0000)] 
[AArch64] Don't split 64-bit constant stores to volatile location

2019-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

Backport from mainline
2019-09-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

* config/aarch64/aarch64.md (mov<mode>): Don't call
aarch64_split_dimode_const_store on volatile MEM.

* gcc.target/aarch64/nosplit-di-const-volatile_1.c: New test.

From-SVN: r276398

5 years agodriver: Also prune joined switches with negation
Kyrylo Tkachov [Tue, 1 Oct 2019 10:28:40 +0000 (10:28 +0000)] 
driver: Also prune joined switches with negation

2019-10-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

Backport from mainline
2019-09-26  Matt Turner  <mattst88@gmail.com>

PR driver/69471
* config/aarch64/aarch64.opt (march=): Add Negative(march=).
(mtune=): Add Negative(mtune=).
(mcpu=): Add Negative(mcpu=).
* config/arm/arm.opt: Likewise.

From-SVN: r276397

5 years agoDaily bump.
GCC Administrator [Tue, 1 Oct 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276385

5 years ago* es.po: Update.
Joseph Myers [Mon, 30 Sep 2019 21:54:07 +0000 (22:54 +0100)] 
* es.po: Update.

From-SVN: r276381

5 years agoDaily bump.
GCC Administrator [Mon, 30 Sep 2019 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276275

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

From-SVN: r276263

5 years agoPR c++/91923 - failure-to-SFINAE with class type NTTP in C++17.
Marek Polacek [Sat, 28 Sep 2019 11:50:11 +0000 (11:50 +0000)] 
PR c++/91923 - failure-to-SFINAE with class type NTTP in C++17.

* pt.c (invalid_nontype_parm_type_p): Only emit errors when
tf_error.

* g++.dg/cpp0x/nontype5.C: New test.

From-SVN: r276250

5 years agobackport: re PR target/86805 (sh port needs updating for CVE-2017-5753)
Oleg Endo [Sat, 28 Sep 2019 08:55:03 +0000 (08:55 +0000)] 
backport: re PR target/86805 (sh port needs updating for CVE-2017-5753)

gcc/
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

Backport from mainline
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/86805
* config/sh/sh.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define.

From-SVN: r276245

5 years agobackport: re PR target/80672 (gcc/config/sh/sh.c:716: prefer compare to find.)
Oleg Endo [Sat, 28 Sep 2019 08:37:23 +0000 (08:37 +0000)] 
backport: re PR target/80672 (gcc/config/sh/sh.c:716: prefer compare to find.)

gcc/
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

Backport from mainline
2019-09-28  Oleg Endo  <olegendo@gcc.gnu.org>

PR target/80672
* config/sh/sh.c (parse_validate_atomic_model_option): Use
std::string::compare instead of std::string::find.

From-SVN: r276241

5 years agoDaily bump.
GCC Administrator [Sat, 28 Sep 2019 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276226

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

From-SVN: r276171

5 years agoDaily bump.
GCC Administrator [Thu, 26 Sep 2019 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276138

5 years ago[arm] Fix use of CRC32 intrinsics with Armv8-a and hard-float
Kyrylo Tkachov [Wed, 25 Sep 2019 13:48:29 +0000 (13:48 +0000)] 
[arm] Fix use of CRC32 intrinsics with Armv8-a and hard-float

Backport from mainline
2019-08-22  Kyrylo Tkachov <kyrylo.tkachov@arm.com>

* config/arm/arm_acle.h: Use arch=armv8-a+crc+simd pragma for CRC32
intrinsics if __ARM_FP.
Use __ARM_FEATURE_CRC32 ifdef guard.

* gcc.target/arm/acle/crc_hf_1.c: New test.

From-SVN: r276126

5 years agoDaily bump.
GCC Administrator [Wed, 25 Sep 2019 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276110

5 years agoDaily bump.
GCC Administrator [Tue, 24 Sep 2019 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276088

5 years agotrans.c (Attribute_to_gnu): Test Can_Use_Internal_Rep on the underlying type of the...
Eric Botcazou [Mon, 23 Sep 2019 08:08:45 +0000 (08:08 +0000)] 
trans.c (Attribute_to_gnu): Test Can_Use_Internal_Rep on the underlying type of the node.

* gcc-interface/trans.c (Attribute_to_gnu): Test Can_Use_Internal_Rep
on the underlying type of the node.
(Call_to_gnu): Likewise with the type of the prefix.

From-SVN: r276042

5 years agoxtensa: backport fix for PR target/90922
Max Filippov [Mon, 23 Sep 2019 07:47:14 +0000 (07:47 +0000)] 
xtensa: backport fix for PR target/90922

Stack pointer adjustment code in prologue missed a case of no
callee-saved registers and a stack frame size bigger than 128 bytes.
Handle that case.

This fixes the following gcc tests with call0 ABI:
  gcc.c-torture/execute/stdarg-2.c
  gcc.dg/torture/pr55882.c
  gcc.dg/torture/pr57569.c

gcc/
2019-09-23  Max Filippov  <jcmvbkbc@gmail.com>

Backport from mainline
2019-06-18  Max Filippov  <jcmvbkbc@gmail.com>

* config/xtensa/xtensa.c (xtensa_expand_prologue): Add stack
pointer adjustment for the case of no callee-saved registers and
stack frame bigger than 128 bytes.

From-SVN: r276037

5 years agoDaily bump.
GCC Administrator [Mon, 23 Sep 2019 00:16:20 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276034

5 years ago[Darwin, opts processing] Fix missing RejectNegative etc.
Iain Sandoe [Sun, 22 Sep 2019 19:36:09 +0000 (19:36 +0000)] 
[Darwin, opts processing] Fix missing RejectNegative etc.

This adds RejectNegative in a number of places it was needed,
reorders the opts into two groups (one general and one driver-only).
We also add a minimal description to each opt, and note some that
are now obsolete. The only functional change is to permit
-mtarget-linker= as an alias of -mtarget-linker.

This fixes the Darwin part of PR89327

2019-09-22  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline
2019-06-16  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.opt (prebind, noprebind, seglinkedit,
noseglinkedit): Add RejectNegative.

Backport from mainline
2019-06-14  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.opt: Add RejectNegative where needed, reorder
and add minimal functional descriptions.

From-SVN: r276031

5 years agoDaily bump.
GCC Administrator [Sun, 22 Sep 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276025

5 years agobackport: re PR fortran/91588 (ICE in check_inquiry, at fortran/expr.c:2673)
Paul Thomas [Sat, 21 Sep 2019 08:35:17 +0000 (08:35 +0000)] 
backport: re PR fortran/91588 (ICE in check_inquiry, at fortran/expr.c:2673)

2019-09-21  Paul Thomas  <pault@gcc.gnu.org>

Backport from mainline
PR fortran/91588
* expr.c (check_inquiry): Remove extended component refs by
using symbol pointers. If a function argument is an associate
variable with a constant target, copy the target expression in
place of the argument expression. Check that the charlen is not
NULL before using the string length.

2019-09-21  Paul Thomas  <pault@gcc.gnu.org>

Backport from mainline
PR fortran/91588
* gfortran.dg/associate_49.f90 : New test.

From-SVN: r276016

5 years agoDaily bump.
GCC Administrator [Sat, 21 Sep 2019 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r276014

5 years agopa.c (pa_trampoline_init): Remove spurious extended character.
John David Anglin [Fri, 20 Sep 2019 21:53:40 +0000 (21:53 +0000)] 
pa.c (pa_trampoline_init): Remove spurious extended character.

* config/pa/pa.c (pa_trampoline_init): Remove spurious extended
character.

From-SVN: r276008

5 years agore PR rtl-optimization/88751 (Performance regression reload vs lra)
Andreas Krebbel [Fri, 20 Sep 2019 12:18:26 +0000 (12:18 +0000)] 
re PR rtl-optimization/88751 (Performance regression reload vs lra)

Fix PR88751

This patch implements a small improvement for the heuristic in lra
which decides when it has to activate the simpler register allocation
algorithm.

gcc/ChangeLog:

2019-09-20  Andreas Krebbel  <krebbel@linux.ibm.com>

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

PR rtl-optimization/88751
* ira.c (ira): Use the number of the actually referenced registers
when calculating the threshold.

From-SVN: r276000

5 years agoRISC-V: Fix more splitters accidentally calling gen_reg_rtx.
Kito Cheng [Fri, 20 Sep 2019 10:41:51 +0000 (10:41 +0000)] 
RISC-V: Fix more splitters accidentally calling gen_reg_rtx.

PR target/91683
* config/riscv/riscv-protos.h (riscv_split_symbol): New bool parameter.
(riscv_move_integer): Likewise.
* config/riscv/riscv.c (riscv_split_integer): Pass FALSE for new
riscv_move_integer arg.
(riscv_legitimize_move): Likewise.
(riscv_force_temporary): New parameter in_splitter.  Don't call
force_reg if true.
(riscv_unspec_offset_high): Pass FALSE for new riscv_force_temporary
arg.
(riscv_add_offset): Likewise.
(riscv_split_symbol): New parameter in_splitter.  Pass to
riscv_force_temporary.
(riscv_legitimize_address): Pass FALSE for new riscv_split_symbol
arg.
(riscv_move_integer): New parameter in_splitter.  New local
can_create_psuedo.  Don't call riscv_split_integer or force_reg when
in_splitter TRUE.
(riscv_legitimize_const_move): Pass FALSE for new riscv_move_integer,
riscv_split_symbol, and riscv_force_temporary args.
* config/riscv/riscv.md (low<mode>+1): Pass TRUE for new
riscv_move_integer arg.
(low<mode>+2): Pass TRUE for new riscv_split_symbol arg.

From-SVN: r275997

5 years agore PR target/91269 (unaligned floating-point register with -mcpu=niagara4 -fcall...
Eric Botcazou [Fri, 20 Sep 2019 09:45:26 +0000 (09:45 +0000)] 
re PR target/91269 (unaligned floating-point register with -mcpu=niagara4 -fcall-used-g6)

PR target/91269
* config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Define.

From-SVN: r275995

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

From-SVN: r275985

5 years agore PR fortran/91727 (ICE in conformable_arrays, at fortran/resolve.c:7490)
Steven G. Kargl [Thu, 19 Sep 2019 17:54:53 +0000 (17:54 +0000)] 
re PR fortran/91727 (ICE in conformable_arrays, at fortran/resolve.c:7490)

2019-09-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91727
* resolve.c (conformable_arrays):  If array-spec is NULL, then
allocate-object is a scalar.  a conformability check only occurs
for an array source-expr.

2019-09-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91727
* gfortran.dg/pr91727.f90: New test.

From-SVN: r275973

5 years agoRISC-V: Fix bad insn splits with paradoxical subregs.
Kito Cheng [Thu, 19 Sep 2019 06:38:23 +0000 (06:38 +0000)] 
RISC-V: Fix bad insn splits with paradoxical subregs.

Shifting by more than the size of a SUBREG_REG doesn't work, so we either
need to disable splits if an input is paradoxical, or else we need to
generate a clean temporary for intermediate results.

Jakub wrote the first version of this patch, so gets primary credit for it.

gcc/
PR target/91635
* config/riscv/riscv.md (zero_extendsidi2, zero_extendhi<GPR:mode>2,
extend<SHORT:mode><SUPERQI:mode>2): Don't split if
paradoxical_subreg_p (operands[0]).
(*lshrsi3_zero_extend_3+1, *lshrsi3_zero_extend_3+2): Add clobber and
use as intermediate value.

gcc/testsuite/
PR target/91635
* gcc.c-torture/execute/pr91635.c: New test.
* gcc.target/riscv/shift-shift-4.c: New test.
* gcc.target/riscv/shift-shift-5.c: New test.

From-SVN: r275929

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

From-SVN: r275923

5 years agobackport: re PR fortran/91550 (ICE in do_subscript, at fortran/frontend-passes.c...
Thomas Koenig [Wed, 18 Sep 2019 17:32:08 +0000 (17:32 +0000)] 
backport: re PR fortran/91550 (ICE in do_subscript, at fortran/frontend-passes.c:2652)

2019-09-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/91550
    * frontend-passes.c (do_subscript): If step equals
    zero, a previuos error has been reported; do nothing
    in this case.
    * resolve.c (gfc_resolve_iterator): Move error checking
    after type conversion.

2019-09-18  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/91550
    * gfortran.dg/do_subscript_6.f90: New test.

From-SVN: r275891

5 years agoDaily bump.
GCC Administrator [Wed, 18 Sep 2019 00:16:12 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275832

5 years agoDaily bump.
GCC Administrator [Tue, 17 Sep 2019 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275762

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

From-SVN: r275740

5 years agobackport: re PR fortran/91557 (Bogus warning about unused dummy argument _formal_*)
Thomas Koenig [Sun, 15 Sep 2019 19:48:41 +0000 (19:48 +0000)] 
backport: re PR fortran/91557 (Bogus warning about unused dummy argument _formal_*)

2019-09-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/91557
    * trans-decl.c (generate_local_decl): Do not warn if the symbol
    is artificial.
    * trans-types.c (get_formal_from_actual_arglist): Set artificial
    attribute on dummy arguments.

2019-09-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/91557
    * gfortran.dg/warn_unused_dummy_argument_5.f90: New test.

From-SVN: r275733

5 years agoDaily bump.
GCC Administrator [Sun, 15 Sep 2019 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275722

5 years agore PR fortran/91553 (ICE in gfc_real2complex, at fortran/arith.c:2208)
Steven G. Kargl [Sat, 14 Sep 2019 17:05:17 +0000 (17:05 +0000)] 
re PR fortran/91553 (ICE in gfc_real2complex, at fortran/arith.c:2208)

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91553
* simplify.c (gfc_convert_constant):  During conversion check if the
constant is enclosed in parenthesis, and simplify expression.

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91553
* gfortran.dg/pr91553.f90: New test.

From-SVN: r275716

5 years agore PR fortran/91566 (ICE in gfc_constructor_copy, at fortran/constructor.c:103)
Steven G. Kargl [Sat, 14 Sep 2019 16:39:41 +0000 (16:39 +0000)] 
re PR fortran/91566 (ICE in gfc_constructor_copy, at fortran/constructor.c:103)

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91566
* simplify.c (gfc_simplify_merge): Need to simplify expression
after insertation of parenthesis.

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91566
* gfortran.dg/pr91566.f90: New test.

From-SVN: r275715

5 years agore PR fortran/91642 (ICE: Bad IO basetype (transfer_expr, at fortran/trans-io.c:2507))
Steven G. Kargl [Sat, 14 Sep 2019 16:21:33 +0000 (16:21 +0000)] 
re PR fortran/91642 (ICE: Bad IO basetype (transfer_expr, at fortran/trans-io.c:2507))

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91642
* io.c (gfc_match_inquire): null() cannot be in an iolength inquire
list.

2019-09-14  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91642
* gfortran.dg/pr91642.f90: New test.

From-SVN: r275714

5 years agoDaily bump.
GCC Administrator [Sat, 14 Sep 2019 00:16:13 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275708

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

From-SVN: r275694

5 years agoPR libstdc++/91748 fix std::for_each_n for random access iterators
Jonathan Wakely [Thu, 12 Sep 2019 10:51:58 +0000 (11:51 +0100)] 
PR libstdc++/91748 fix std::for_each_n for random access iterators

PR libstdc++/91748
* include/bits/stl_algo.h (for_each_n): Fix random access iterator
case.
* testsuite/25_algorithms/for_each/for_each_n.cc: Test with random
access iterators.

From-SVN: r275684

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

From-SVN: r275679

5 years agoFix Xmethod for shared_ptr::use_count()
Jonathan Wakely [Wed, 11 Sep 2019 11:40:23 +0000 (12:40 +0100)] 
Fix Xmethod for shared_ptr::use_count()

This was reported in https://bugzilla.redhat.com/show_bug.cgi?id=1749578

* python/libstdcxx/v6/xmethods.py (SharedPtrUseCountWorker.__call__):
Fix syntax error.

From-SVN: r275645

5 years agore PR rtl-optimization/89795 (wrong code with -O2 -fno-dce -fno-forward-propagate...
Eric Botcazou [Wed, 11 Sep 2019 10:42:31 +0000 (10:42 +0000)] 
re PR rtl-optimization/89795 (wrong code with -O2 -fno-dce -fno-forward-propagate -fno-sched-pressure)

PR rtl-optimization/89795
* rtlanal.c (nonzero_bits1) <SUBREG>: Do not propagate results from
inner REGs to paradoxical SUBREGs if WORD_REGISTER_OPERATIONS is set.

From-SVN: r275636

5 years agoDaily bump.
GCC Administrator [Wed, 11 Sep 2019 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275621

5 years agoPR c++/91705 - constexpr evaluation rejects ++/-- on floats.
Marek Polacek [Tue, 10 Sep 2019 22:39:46 +0000 (22:39 +0000)] 
PR c++/91705 - constexpr evaluation rejects ++/-- on floats.

* constexpr.c (cxx_eval_increment_expression): Call fold_simple on
the offset.

* g++.dg/cpp1y/constexpr-incr2.C: New test.

From-SVN: r275615

5 years agore PR go/91621 (libgo/mksysinfo.sh: please avoid test ==)
Ian Lance Taylor [Tue, 10 Sep 2019 20:32:42 +0000 (20:32 +0000)] 
re PR go/91621 (libgo/mksysinfo.sh: please avoid test ==)

PR go/91621
    mksysinfo: change test == to test =

    Fixes https://gcc.gnu.org/PR91621

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194569

From-SVN: r275609

5 years agogo/internal/gccgoimporter: support embedded field in pointer loop
Ian Lance Taylor [Tue, 10 Sep 2019 20:26:11 +0000 (20:26 +0000)] 
go/internal/gccgoimporter: support embedded field in pointer loop

    Backport of https://golang.org/cl/194440.  Original description:

        If an embedded field refers to a type via a pointer, the parser needs
        to know the name of the embedded field. It is possible that the
        pointer type is not yet resolved. This CL fixes the parser to handle
        that case by setting the pointer element type to the unresolved named
        type while the pointer is being resolved.

    Updates golang/go#34182

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194562

From-SVN: r275607

5 years agoDaily bump.
GCC Administrator [Tue, 10 Sep 2019 00:16:19 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275554

5 years agoUpdate docs for p858 - Constexpr iterator changes available since 9.1.
Edward Smith-Rowland [Mon, 9 Sep 2019 17:17:48 +0000 (17:17 +0000)] 
Update docs for p858 - Constexpr iterator changes available since 9.1.

2019-09-09  Edward Smith-Rowland  <3dw4rd@verizon.net>

Update docs for p858 - Constexpr iterator changes available since 9.1.
* doc/xml/manual/status_cxx2020.xml: Update p0858r0 status.

From-SVN: r275523

5 years agore PR target/87853 (_mm_cmpgt_epi8 broken with -funsigned-char)
Jakub Jelinek [Mon, 9 Sep 2019 10:52:00 +0000 (12:52 +0200)] 
re PR target/87853 (_mm_cmpgt_epi8 broken with -funsigned-char)

PR target/87853
* config/i386/emmintrin.h (_mm_cmpeq_epi8): Use casts to __v16qi
instead of __v16qs.

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

From-SVN: r275510

5 years agore PR target/91704 ([X86] Codegen for _mm256_cmpgt_epi8 is affected by -funsigned...
Jakub Jelinek [Mon, 9 Sep 2019 10:51:04 +0000 (12:51 +0200)] 
re PR target/91704 ([X86] Codegen for _mm256_cmpgt_epi8 is affected by -funsigned-char)

PR target/91704
* config/i386/avxintrin.h (__v32qs): New typedef.
* config/i386/avx2intrin.h (_mm256_cmpgt_epi8): Use casts to __v32qs
instead of __v32qi.

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

From-SVN: r275509

5 years agoDaily bump.
GCC Administrator [Mon, 9 Sep 2019 00:17:04 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r275500

5 years agoDaily bump.
GCC Administrator [Sun, 8 Sep 2019 00:16:30 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275492

5 years agore PR fortran/91589 (ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2447)
Paul Thomas [Sat, 7 Sep 2019 14:41:25 +0000 (14:41 +0000)] 
re PR fortran/91589 (ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2447)

2019-09-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/91589
* primary.c (gfc_match_varspec): Return MATCH_NO on an apparent
component ref, when the primary type is intrinsic.

2019-09-07  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/91589
* gfortran.dg/pr91589.f90 : New test.

From-SVN: r275487

5 years agoDaily bump.
GCC Administrator [Sat, 7 Sep 2019 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275481

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

From-SVN: r275448

5 years agobackport: re PR fortran/91496 (!GCC$ directives error if mistyped or unknown)
Harald Anlauf [Thu, 5 Sep 2019 21:02:44 +0000 (21:02 +0000)] 
backport: re PR fortran/91496 (!GCC$ directives error if mistyped or unknown)

2019-09-05  Harald Anlauf  <anlauf@gmx.de>

Backport from mainline
PR fortran/91496
* gfortran.h: Extend struct gfc_iterator for loop annotations.
* array.c (gfc_copy_iterator): Copy loop annotations by IVDEP,
VECTOR, and NOVECTOR pragmas.
* decl.c (gfc_match_gcc_ivdep, gfc_match_gcc_vector)
(gfc_match_gcc_novector): New matcher functions handling IVDEP,
VECTOR, and NOVECTOR pragmas.
* match.h: Declare prototypes of matcher functions handling IVDEP,
VECTOR, and NOVECTOR pragmas.
* parse.c (decode_gcc_attribute, parse_do_block)
(parse_executable): Decode IVDEP, VECTOR, and NOVECTOR pragmas;
emit warning for unrecognized pragmas instead of error.
* trans-stmt.c (gfc_trans_simple_do, gfc_trans_do): Add code to
emit annotations for IVDEP, VECTOR, and NOVECTOR pragmas.
* gfortran.texi: Document IVDEP, VECTOR, and NOVECTOR pragmas.

PR fortran/91496
* parse.c (parse_executable): Improve error messages for
improperly placed pragmas not preceeding a loop.

PR fortran/91496
* gfortran.dg/pr91496.f90: New testcase.

PR fortran/91496
* gfortran.dg/directive_unroll_5.f90: Adjust error message.

From-SVN: r275445

5 years agore PR fortran/91660 (Missing error on invalid type declaration)
Steven G. Kargl [Thu, 5 Sep 2019 18:37:13 +0000 (18:37 +0000)] 
re PR fortran/91660 (Missing error on invalid type declaration)

2019-09-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91660
* decl.c (gfc_match_decl_type_spec): Improve and restore error
message for malformed types-spec.

2019-09-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91660
* gfortran.dg/pdt_4.f03: Fix invalid code.
* gfortran.dg/pr91660_1.f90: New test.
* gfortran.dg/pr91660_2.f90: Ditto.

From-SVN: r275427

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

From-SVN: r275394

5 years ago[AArch64] Fix PR81800
Wilco Dijkstra [Wed, 4 Sep 2019 12:42:22 +0000 (12:42 +0000)] 
[AArch64] Fix PR81800

PR81800 is about the lrint inline giving spurious FE_INEXACT exceptions.
The previous change for PR81800 didn't fix this: when lrint is disabled
in the backend, the midend will simply use llrint.  This actually makes
things worse since llrint now also ignores FE_INVALID exceptions!
The fix is to disable lrint/llrint on double if the size of a long is
smaller (ie. ilp32).

    gcc/
PR target/81800
* gcc/config/aarch64/aarch64.md (lrint): Disable lrint pattern if GPF
operand is larger than a long int.

    testsuite/
PR target/81800
* gcc.target/aarch64/no-inline-lrint_3.c: New test.

From-SVN: r275373

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

From-SVN: r275361

5 years agore PR tree-optimization/91597 (GCC miscompiles a branch depending on a pointer tag)
Jakub Jelinek [Tue, 3 Sep 2019 16:55:31 +0000 (18:55 +0200)] 
re PR tree-optimization/91597 (GCC miscompiles a branch depending on a pointer tag)

PR tree-optimization/91597
* tree-vrp.c (extract_range_from_binary_expr): Remove unsafe
BIT_AND_EXPR optimization for pointers, even if both operand
ranges don't include NULL, the result can be NULL.

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

From-SVN: r275345

5 years agoDaily bump.
GCC Administrator [Tue, 3 Sep 2019 00:16:35 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r275327

5 years agore PR fortran/91552 (ICE with valid array constructor)
Steven G. Kargl [Mon, 2 Sep 2019 17:16:05 +0000 (17:16 +0000)] 
re PR fortran/91552 (ICE with valid array constructor)

2019-09-02  Steven G. Kargl  <kargl@gc.gnu.org>

PR fortran/91552
* array.c (walk_array_constructor): New function.
(gfc_match_array_constructor): Use it.

2019-09-02  Steven G. Kargl  <kargl@gc.gnu.org>

PR fortran/91552
* gfortran.dg/pr91552.f90: New test.

From-SVN: r275323

5 years agoUpdate libstdc++ docs for library version bumps
Jonathan Wakely [Mon, 2 Sep 2019 11:10:03 +0000 (12:10 +0100)] 
Update libstdc++ docs for library version bumps

* doc/xml/manual/abi.xml: Document 9.x library versions.
* doc/html/*: Regenerate.

From-SVN: r275310

5 years agoBackport r275292
Martin Liska [Mon, 2 Sep 2019 08:58:39 +0000 (10:58 +0200)] 
Backport r275292

2019-09-02  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-09-02  Martin Liska  <mliska@suse.cz>

PR c++/91155
* c-common.c (fname_as_string): Use cxx_printable_name for
__PRETTY_FUNCTION__ same as was used before r265711.
2019-09-02  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-09-02  Martin Liska  <mliska@suse.cz>

PR c++/91155
* g++.dg/torture/pr91155.C: New test.

From-SVN: r275302

5 years agoBackport r275291
Martin Liska [Mon, 2 Sep 2019 08:58:17 +0000 (10:58 +0200)] 
Backport r275291

2019-09-02  Martin Liska  <mliska@suse.cz>

Backport from mainline
2019-09-02  Martin Liska  <mliska@suse.cz>

PR gcov-profile/91601
* gcov.c (path_contains_zero_cycle_arc): Rename to ...
(path_contains_zero_or_negative_cycle_arc): ... this and handle
also negative edges.
(circuit): Handle also negative edges as they can happen
in some situations.

From-SVN: r275301

5 years agoUpdate Solaris baselines for GCC 9.3
Rainer Orth [Mon, 2 Sep 2019 08:40:41 +0000 (08:40 +0000)] 
Update Solaris baselines for GCC 9.3

* config/abi/post/i386-solaris2.10/baseline_symbols.txt: Regenerate.
* config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/i386-solaris2.11/baseline_symbols.txt: Likewise.
* config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/sparc-solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt:
Likewise.
* config/abi/post/sparc-solaris2.11/baseline_symbols.txt: Likewise.
* config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt:
Likewise.

From-SVN: r275300