[committed] hppa: Don't clobber frame_pointer_rtx in expanders

2024-10-05 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Committed to trunk. Dave --- hppa: Don't clobber frame_pointer_rtx in expanders Noticed testing LRA. Clobbers cause internal compiler errors. 2024-10-05 John David Anglin gcc/ChangeLog: * config/pa/pa.md (nonlocal_goto): D

[pushed] doc: Focus on DWARF for FreeBSD

2024-10-05 Thread Gerald Pfeifer
Pushed. Gerald gcc: PR target/69374 * doc/install.texi (Specific) <*-*-freebsd*>: Focus on DWARF only. --- gcc/doc/install.texi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 09559615bbf..b7c14e8b6

[RFC PATCH] RISC-V: Implement riscv_minimal_hwprobe_feature_bits

2024-10-05 Thread Yangyu Chen
This patch implements the riscv_minimal_hwprobe_feature_bits feature for the RISC-V target. The feature bits are defined in the previous patch [1] to provide bitmasks of ISA extensions that defined in RISC-V C-API. Thus, we need a function to generate the feature bits for IFUNC resolver to dispatch

Re: [PATCH 2/2 v3] libstdc++: add std::is_virtual_base_of

2024-10-05 Thread Patrick Palka
On Fri, 2 Aug 2024, Jonathan Wakely wrote: > On Fri, 2 Aug 2024 at 10:35, Giuseppe D'Angelo wrote: > > > > Hello, > > > > On 31/07/2024 00:55, Jonathan Wakely wrote: > > > If __cpp_lib_is_virtual_base_of depends on __has_builtin, then that > > > will do the right thing for #ifdef __cpp_lib_is_virt

Re: [PATCH 2/3] Release expanded template argument vector

2024-10-05 Thread Jason Merrill
On 10/4/24 11:00 AM, Patrick Palka wrote: On Thu, 3 Oct 2024, Jason Merrill wrote: On 10/3/24 12:38 PM, Jason Merrill wrote: On 10/2/24 7:50 AM, Richard Biener wrote: This reduces peak memory usage by 20% for a specific testcase. Bootstrapped and tested on x86_64-unknown-linux-gnu. It's ver

Re: [PATCH 1/2] gcc: make Valgrind errors fatal during bootstrap

2024-10-05 Thread Mark Wielaard
Hi (adding Philippe to CC who knows a bit more about Valgrind vs Ada), On Sat, Oct 05, 2024 at 06:07:27AM +0100, Sam James wrote: > Jeff Law writes: > > > On 10/2/24 8:39 PM, Sam James wrote: > >> Valgrind doesn't error out by default which means bootstrap issues like > >> in PR116945 can easily

Re: [PATCH] Fix PR middle-end/116933

2024-10-05 Thread Richard Biener
> Am 05.10.2024 um 10:22 schrieb Eric Botcazou : > > Hi, > > this polishes a few rough edges that prevent -ftrivial-auto-var-init=zero from > working in Ada: > > - build_common_builtin_nodes declares BUILT_IN_CLEAR_PADDING with 3 instead > of 2 parameters, now gimple_fold_builtin_clear_padd

[PATCH v2] Add -ftime-report-wall

2024-10-05 Thread Andi Kleen
From: Andi Kleen Time vars normally use times(2) to get the user/sys/wall time, which is always a system call. I don't think the system time is very useful because most overhead is in user time. If we only use the wall (or monotonic) time modern OS have an optimized path to get it directly from a

[PATCH] Fix PR middle-end/116933

2024-10-05 Thread Eric Botcazou
Hi, this polishes a few rough edges that prevent -ftrivial-auto-var-init=zero from working in Ada: - build_common_builtin_nodes declares BUILT_IN_CLEAR_PADDING with 3 instead of 2 parameters, now gimple_fold_builtin_clear_padding contains the assertion: gcc_assert (gimple_call_num_args (st

[PATCH][v2] Add single-lane SLP support to .GOMP_SIMD_LANE vectorization

2024-10-05 Thread Richard Biener
The following adds basic support for single-lane SLP .GOMP_SIMD_LANE vectorization, in particular it enables SLP discovery. Bootstrap and regtest running on x86_64-unknown-linux-gnu. * tree-vect-slp.cc (no_arg_map): New. (vect_get_operand_map): Handle IFN_GOMP_SIMD_LANE. (

[committed] hppa: Fix indirect_goto constraint

2024-10-05 Thread John David Anglin
Tested on hppa-unknown-linux-gnu and hppa64-hp-hpux11.11. Commited to active branches. Dave --- hppa: Fix indirect_goto constraint Noticed testing LRA. 2024-10-05 John David Anglin gcc/ChangeLog: * config/pa/pa.md: Fix indirect_got constraint. diff --git a/gcc/config/pa/pa.md b/g