Ping: [PATCH] wwwdocs: Add D front-end section for GCC 10 changes

2020-05-03 Thread Iain Buclaw via Gcc-patches
Ping Another thing that forgot to mention was added __traits(getLinkage) support for class/struct types. Will include that too. Iain On 28 April 2020 01:12:19 CEST, Iain Buclaw wrote: >Hi, > >This patch adds a section on the D front-end about all changes that have >gone into the GCC 10 release

Re: [PATCH] var-tracking.c: Fix possible use of uninitialized variable pre

2020-05-03 Thread Andreas Krebbel via Gcc-patches
On 30.04.20 18:33, Richard Biener wrote: > On Thu, Apr 30, 2020 at 5:14 PM Andreas Krebbel wrote: >> >> On 30.04.20 08:25, Richard Biener via Gcc-patches wrote: >>> On Wed, Apr 29, 2020 at 5:56 PM Jeff Law wrote: On Tue, 2020-04-28 at 11:44 +0200, Richard Biener via Gcc-patches wrote: >

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-03 Thread Andreas Tobler
On 03.05.20 18:27, Kamil Rytarowski wrote: On 01.05.2020 21:49, Andreas Tobler wrote: Hi all, FreeBSD does not have the alloca.h header. Do not include it in the test cases which do include alloca.h. There are two versions of this patch available, the one attached which uses ifdef or another o

New Swedish PO file for 'gcc' (version 10.1-b20200322)

2020-05-03 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'gcc' has been submitted by the Swedish team of translators. The file is available at: https://translationproject.org/latest/gcc/sv.po (This file, 'gcc-10.1-b20200322.sv.po'

[committed] i386: Use plus_constant instead of gen_rtx_PLUS

2020-05-03 Thread Uros Bizjak via Gcc-patches
Replace gen_rtx_PLUS with a GEN_INT with plus_constant. 2020-05-03 Uroš Bizjak * config/i386/i386-expand.c (ix86_expand_int_movcc): Use plus_constant instead of gen_rtx_PLUS with GEN_INT. (emit_memmov): Ditto. (emit_memset): Ditto. (ix86_expand_strlensi_unroll_1): Ditto.

Re: [PATH] Enable GCC support for SERIALIZE

2020-05-03 Thread Uros Bizjak via Gcc-patches
On Wed, Apr 1, 2020 at 9:23 AM Hongtao Liu wrote: > > Hi: > This patch is about to enable GCC support for SERIALIZE which would > be in GLC. There's only 1 instruction: SERIALIZE, more details please > refer to > https://software.intel.com/sites/default/files/managed/c5/15/architecture-instruct

Re: [PATCH] Enable GCC support for TSXLDTRK

2020-05-03 Thread Uros Bizjak via Gcc-patches
On Wed, Apr 1, 2020 at 9:27 AM Hongtao Liu wrote: > > Hi: > This patch is about to enable GCC support for TSXLDTRK which would > be in GLC. There's only 2 instructions: XRESLDTRK, XSUSLDTRK, more > details please > refer to > https://software.intel.com/sites/default/files/managed/c5/15/architec

Re: [PATCH] testsuite:analyzer: Fix header include for FreeBSD

2020-05-03 Thread Kamil Rytarowski
On 01.05.2020 21:49, Andreas Tobler wrote: > Hi all, > > FreeBSD does not have the alloca.h header. Do not include it in the test > cases which do include alloca.h. > > There are two versions of this patch available, the one attached which > uses ifdef or another one which defines alloca with __b

[PATCH v2 3/5] PRU: Fix R3.w0 register class

2020-05-03 Thread Dimitar Dimitrov
TI has clarified [1] that R3.w0 is caller saved, so allow compiler to use it. This is safe change because older GCC versions treat R3.w0 as fixed register and never use it. [1] https://e2e.ti.com/support/tools/ccs/f/81/t/849993 gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov * config/pru/

[PATCH v2 5/5] PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED

2020-05-03 Thread Dimitar Dimitrov
Per clarification in [1], macro is supposed to check for partial clobbering of single HW registers. Since PRU declares only 8-bit HW registers, and ABI does not define individual bit clobbering, it is safe to remove the implementation. [1] https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00778.html

[PATCH v2 2/5] PRU: Simplify machine description

2020-05-03 Thread Dimitar Dimitrov
Use the new @insn syntax for simpler gen_* invocation. gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov * config/pru/pru.c (pru_emit_doloop): Use new gen_doloop_end_internal and gen_doloop_begin_internal. (pru_reorg_loop): Use gen_pruloop with mode. * config/pru/pru.

[PATCH v2 4/5] testsuite: pru: Add clobber test

2020-05-03 Thread Dimitar Dimitrov
gcc/testsuite/ChangeLog: 2020-05-03 Dimitar Dimitrov * gcc.target/pru/clobber-sp.c: New test. Signed-off-by: Dimitar Dimitrov --- gcc/testsuite/gcc.target/pru/clobber-sp.c | 24 +++ 1 file changed, 24 insertions(+) create mode 100644 gcc/testsuite/gcc.target/pru

[PATCH v2 1/5] PRU: Fix comment to avoid fall through warning

2020-05-03 Thread Dimitar Dimitrov
gcc/ChangeLog: 2020-05-03 Dimitar Dimitrov * config/pru/pru.c (pru_print_operand): Fix fall through comment. Signed-off-by: Dimitar Dimitrov --- gcc/config/pru/pru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/pru/pru.c b/gcc/config/pru/pru.c index

[PATCH v2 0/5] Updates for PRU backend

2020-05-03 Thread Dimitar Dimitrov
One of the changes frees a previously fixed register, per ABI clarification from TI, for local usage from function. The change is backwards compatible. Rest of changes are cleanups. Testsuite did not reveal any regressions. Dimitar Dimitrov (5): PRU: Fix comment to avoid fall through warning

Re: [PATCH] fix Ada bootstrap on Cygwin64 (PR bootstrap/94918)

2020-05-03 Thread Mikael Pettersson via Gcc-patches
On Sat, May 2, 2020 at 9:46 PM Arnaud Charlet wrote: > > > This fixes three compilation errors preventing bootstrap of gcc-10/11 > > with Ada on x86_64-pc-cygwin. See PR bootstrap/94918 for details. > > > > Tested by bootstrapping on x86_64-pc-cygwin, and since it touches code > > shared with min

[committed] libstdc++: Make byte-sized std::fill_n a constant expression (PR 94933)

2020-05-03 Thread Jonathan Wakely via Gcc-patches
The overload for byte types uses memset and isn't constexpr. This adds the specifier and uses std::is_constant_evaluated() to provide a compile-time alternative. PR libstdc++/94933 * include/bits/stl_algobase.h (__fill_a1): Make overload for byte types usable in constant ex

Re: [PATCH] gfortran: Get asan library from TEST_ALWAYS_FLAGS

2020-05-03 Thread Thomas Koenig via Gcc-patches
Hi H.J., I checked in this patch to fix: https://gcc.gnu.org/pipermail/gcc-regression/2020-May/072549.html Thanks for the fix!

Re: [PATCH] libiberty: Update D symbol demangling for latest ABI spec.

2020-05-03 Thread Iain Buclaw via Gcc-patches
Ping. There is a new mangle string "Nm" in the abi to denote the @live attribute, however will add support in a follow up patch. On 15 April 2020 12:04:29 CEST, Iain Buclaw via Gcc-patches wrote: >Ping. > >On 04/04/2020 13:33, Iain Buclaw wrote: >> Hi, >> >> Some small improvements and clari