Re: [PATCH v8] Provide new GCC builtin __builtin_counted_by_ref [PR116016]

2024-10-15 Thread Joseph Myers
On Fri, 11 Oct 2024, Qing Zhao wrote: > Hi, This is the 8th version of the patch. > > Compared to the 7th version, the major changes are several documentation > wording issues raised by Joseph. > > The 7th version is at: > https://gcc.gnu.org/pipermail/gcc-patches/2024-September/664032.html > >

[PATCH] doc: remove outdated C++ Concepts section

2024-10-15 Thread Patrick Palka
This was added as part of the initial Concepts TS implementation and reflects an early version of the Concepts TS paper, which is very different from standard C++20 concepts (and even from more recent versions of the Concepts TS, support for which we deprecated in GCC 14 and removed for GCC 15). S

Re: [PATCH v4] RISC-V: add option -m(no-)autovec-segment

2024-10-15 Thread Robin Dapp
> Quick question. We did something like this to aid internal > testing/bringup. Our variant adjusted a ton of the mode iterators in > vector-iterators.md and the TUPLE_ENTRY stuff in riscv-vector-switch.def. > > Robin, do you remember why you had to adjust all the iterators? Was it > that LTO

[PATCH] expr, c, gimplify, v3: Don't clear whole unions [PR116416]

2024-10-15 Thread Jakub Jelinek
Hi! Here is an updated version of the patch. My reading of C23 is that if some aggregate field is initialized with {} (which is supposed to newly clear padding bits) and then its subobjects are overridden with designated initializers, then the padding bits are cleared property should be kept unle

Re: libstdc++ fetch_add & fenv -- ecosystem questions

2024-10-15 Thread Joseph Myers
On Tue, 15 Oct 2024, Matthew Malcomson wrote: > Seems that the testsuite and build system are the main things to watch > out for here right? Yes, as illustrated by the draft patch linked from bug 81358 comment 11. -- Joseph S. Myers josmy...@redhat.com

[PATCH] sparc: drop -mlra

2024-10-15 Thread Sam James
The sparc port gained LRA support in r7-5076-gf99bd883fb0d05 and has defaulted to LRA since r7-5642-g70a6dbe7e37e69. Let's finish the transition by dropping -mlra entirely. Tested on sparc64-unknown-linux-gnu with no regressions. gcc/ChangeLog: PR target/113952 * config/sparc/sp

[COMMITED] MAINTAINERS: Fix name order

2024-10-15 Thread Filip Kastl
ChangeLog: * MAINTAINERS: Fix Write After Approval name order. Signed-off-by: Filip Kastl --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index cf1cf78e16c..269ac2ea6b4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -760,7 +76

Re: [PATCH] config: add -Werror=lto-type-mismatch,odr to bootstrap-lto*

2024-10-15 Thread Sam James
Sam James writes: > Add -Werror=lto-type-mismatch,odr to bootstrap-lto* configurations to > help stop LTO breakage/correctness issues sneaking in. > > We discussed -Werror=strict-aliasing but it runs early and doesn't > give better diagnostics with LTO so left it out. > > config/ChangeLog: >

Re: [PATCH v2] alpha: Add -mlra option

2024-10-15 Thread John Paul Adrian Glaubitz
On Tue, 2024-10-15 at 16:18 +0200, John Paul Adrian Glaubitz wrote: > On Tue, 2024-10-15 at 07:56 -0600, Jeff Law wrote: > > Also note if we think it's basically working I can flip my tester to > > default to LRA. It bootstraps and regtests alpha once a week via qemu. > > > > I think it's testin

Re: [PATCH 2/2] gcc: Add --enable-multilib-space option

2024-10-15 Thread Keith Packard
> This should be documented in install.texi. Right. Sorry I forgot that piece. -- -keith signature.asc Description: PGP signature

Re: [PATCH] rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED

2024-10-15 Thread Segher Boessenkool
Hi! On Mon, Oct 14, 2024 at 05:26:51PM +0530, jeevitha wrote: > Corrected the function code for the Atomic Memory Operation "Fetch and > Decrement > Bounded", changing it from 0x1A to 0x1C. ... which is the correct value. :-) > 2024-10-14 Jeevitha Palanisamy > > gcc/ > * config/rs6000/

[PATCH] PR116510: Add missing fold_converts into tree switch if conversion

2024-10-15 Thread Andi Kleen
From: Andi Kleen Passes test suite. Ok to commit? gcc/ChangeLog: PR middle-end/116510 * tree-if-conv.cc (predicate_bbs): Add missing fold_converts. gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-switch-ifcvt-3.c: New test. --- gcc/testsuite/gcc.dg/vect/vect-switch-ifcvt-

Re: [PATCH v8] Provide new GCC builtin __builtin_counted_by_ref [PR116016]

2024-10-15 Thread Qing Zhao
Thanks. Pushed as: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e7380688fa5917011c3fb85b5e06fb00f776a95d Qing > On Oct 15, 2024, at 12:23, Joseph Myers wrote: > > On Fri, 11 Oct 2024, Qing Zhao wrote: > >> Hi, This is the 8th version of the patch. >> >> Compared to the 7th version, the maj

Re: [PATCH] RISC-V: Use biggest_mode as mode for constants.

2024-10-15 Thread 钟居哲
LGTM juzhe.zh...@rivai.ai From: Robin Dapp Date: 2024-10-15 20:55 To: gcc-patches CC: pal...@dabbelt.com; kito.ch...@gmail.com; juzhe.zh...@rivai.ai; jeffreya...@gmail.com; pan2...@intel.com; rdapp@gmail.com Subject: [PATCH] RISC-V: Use biggest_mode as mode for constants. Hi, in compute

<    1   2