Re: [PATCH] Treat { 0 } specially for structs with the designated_init attribute.

2020-06-21 Thread Asher Gordon via Gcc-patches
Hi Martin, Thanks for your help. Martin Sebor writes: > This can be a little confusing and I don't work with the front end > stuff often enough to remember it so I always have to look it up. > There's a TYPE_DECL that corresponds to the definition of the type > that for user-defined types has

Re: [PATCH] RISC-V: Normalize arch string in driver time

2020-06-21 Thread Kito Cheng
Hi Jim: Thanks for your review, committed with ASM_SPECS clean up. > This has the side effect that we are now passing -march twice to cc1 and as, > but that should be harmless as the last one wins. Yeah, I tried to find a way to remove the duplication but have not found a good solution yet. On

Re: [PATCH] RISC-V: Fix compilation failed for frflags builtin in C++ mode

2020-06-21 Thread Kito Cheng via Gcc-patches
Hi Jason: Committed, thanks for your review :) > You should also be able to remove > > > #define RISCV_ATYPE_VOID void_type_node That's still used for builtin functions without return value :)

Re: [PATCH] recog: Use parameter packs for operator()

2020-06-21 Thread Gerald Pfeifer
On Thu, 18 Jun 2020, Sebastian Huber wrote: > b952c2cfcd74c284970e1b9bf1fca58f5f69ab23 on 10th of June. I build GCC > roughly once per week. I have daily builds running on i386-unknown-freebsd11.3 (since this is the flavor most likely to trigger issues) and the failure started in the 24 hours

[PATCHv4] Handle TYPE_PACK_EXPANSION in cxx_incomplete_type_diagnostic

2020-06-21 Thread Nicholas Krause via Gcc-patches
From: Nicholas Krause This fixs the PR95672 by adding the missing TYPE_PACK_EXPANSION case in cxx_incomplete_type_diagnostic in order to avoid ICES on diagnosing incomplete template pack expansion cases. In v2, add the missing required test case for all new patches. v3 Fixes both the test case

Re: PING^2: V5 [PATCH] x86: Move cpuinfo.h from libgcc to common/config/i386

2020-06-21 Thread H.J. Lu via Gcc-patches
On Sun, Jun 21, 2020 at 10:18 AM Uros Bizjak wrote: > > On Sat, Jun 20, 2020 at 3:40 PM H.J. Lu wrote: > > > > > > >> 2) can we automatically deduce option name: > > > > > >> > > > > > >>> + ISA_NAMES_TABLE_ENTRY("rdpid", FEATURE_RDPID, P_ZERO, > > > > > >>> "-mrdpid") > > > > > >>> +

Re: PING^2: V5 [PATCH] x86: Move cpuinfo.h from libgcc to common/config/i386

2020-06-21 Thread Uros Bizjak via Gcc-patches
On Sat, Jun 20, 2020 at 3:40 PM H.J. Lu wrote: > > > > >> 2) can we automatically deduce option name: > > > > >> > > > > >>> + ISA_NAMES_TABLE_ENTRY("rdpid", FEATURE_RDPID, P_ZERO, "-mrdpid") > > > > >>> + ISA_NAMES_TABLE_ENTRY("rdrnd", FEATURE_RDRND, P_ZERO, "-mrdrnd") > > > > >> > > > > >> I

Re: [PATCHv3] Handle TYPE_PACK_EXPANSION in cxx_incomplete_type_diagnostic

2020-06-21 Thread Jason Merrill via Gcc-patches
On 6/20/20 2:26 PM, Nicholas Krause wrote: From: Nicholas Krause This fixs the PR95672 by adding the missing TYPE_PACK_EXPANSION case in cxx_incomplete_type_diagnostic in order to avoid ICES on diagnosing incomplete template pack expansion cases. In v2, add the missing required test case for

*ping* [patch, fortran] PR 27318, warn if interfaces do not match

2020-06-21 Thread Thomas Koenig via Gcc-patches
Am 14.06.20 um 12:10 schrieb Thomas Koenig: Hello world, this patch solves an PR which just had its 14th birthday, continuing the mission of alerting the user to mismatches where possible. Regression-tested (which led to a few of the extra checks for errors). OK for trunk? Ping? I'd like to

New Swedish PO file for 'gcc' (version 10.1.0)

2020-06-21 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.0.sv.po', has