[PATCH] Cleanup std::erase_if for std::vector implementation

2025-09-30 Thread François Dumont
Hi Minor patch, just need to confirm that constexpr implies inline, no ?     libstdc++: Avoid _GLIBCXX20_CONSTEXPR in C++ >= 20 code section     libstdc++-v3/ChangeLog:             * include/std/vector (std::erase_if): Replace _GLIBCXX20_CONSTEXPR             with 'constexpr' and remove impl

Re: [PATCH] gimple-fold/fab: Move ASSUME_ALIGNED handling to gimple-fold [PR121762]

2025-09-30 Thread Jeff Law
On 9/28/25 8:54 AM, Andrew Pinski wrote: On Sun, Sep 28, 2025, 7:55 AM Andrew Pinski > wrote: On Sun, Sep 28, 2025, 7:30 AM YunQiang Su mailto:wzss...@gmail.com>> wrote: Richard Biener mailto:richard.guent...@gmail.com>> 于2025年9月24日周三 20:36写道:

Re: [PATCH v2 6/7] riscv: Add RISC-V Kernel Control Flow Integrity implementation

2025-09-30 Thread Jeff Law
On 9/16/25 12:04 AM, Kees Cook wrote: +/* Apply KCFI wrapping to call pattern if needed. */ +rtx +riscv_maybe_wrap_call_with_kcfi (rtx pat, rtx addr) So our coding standards require a bit more for that function comment. What are PAT and ADDR and how are they used? Sure, I can document tho

Re: [PATCH v12 3/3] c: fmv: Prevent FMV being combined with other cloning/renaming extensions.

2025-09-30 Thread Joseph Myers
On Tue, 30 Sep 2025, alfie.richa...@arm.com wrote: > gcc/c-family/ChangeLog: > > * c-attribs.cc: Add exclusions. This should mention the specific variables changed. > + /* Check if the name of the function has been overridden. */ > + if (DECL_ASSEMBLER_NAME_SET_P (decl) > +

[wwwdocs] cxx-dr-status: Update from C++ Core Language Issue TOC, Revision 118

2025-09-30 Thread Marek Polacek
Pushed. I also pushed a patch to replace with . -- >8 -- commit 8346ed11941ef226be1af5b7bb81e935eb55b491 Author: Marek Polacek Date: Tue Sep 30 14:55:13 2025 -0400 cxx-dr-status: Update from C++ Core Language Issue TOC, Revision 118 diff --git a/htdocs/projects/cxx-dr-status.html b/htd

Re: [PATCH] RISC-V: fix __builtin_round NaN handling [PR161652]

2025-09-30 Thread Vineet Gupta
On 9/26/25 10:01, Aurelien Jarno wrote: > __builtin_round() fails to correctly generate invalid exceptions for NaN > inputs when -ftrapping-math is used (which is the default). According to > the specification, an invalid exception should be raised for sNaN, but > not for qNaN. > > Commit f12a27

Re: [PATCH 1/4] RX: FDPIC support - machine description

2025-09-30 Thread Jeff Law
On 9/29/25 8:01 AM, Yoshinori Sato wrote: gcc/ChangeLog: * config/rx/predicates.md (rx_plt_call_operand): New predicate. * config/rx/rx.md (PIC_REG): New constant. (UNSPEC_PIC): Likewise. (UNSPEC_GOT): Likewise. (UNSPEC_GOTOFF): Likewise. (UNSPE

Re: [Patch, fortran] PR122089 - generic resolution problem with composite PDT

2025-09-30 Thread Harald Anlauf
Am 30.09.25 um 10:11 schrieb Paul Richard Thomas: The testcase was failing at interface.cc(gfc_compare_derived_types):683 and so a specific procedure was not being found. I posted a "fix" on the PR, which works but is incorrect. The attached fixes this by ensuring that PDT instances of a use asso

Re: [PATCH] arc: Add const attribute support for mathematical ARC builtins

2025-09-30 Thread Kees Cook
On Mon, Aug 25, 2025 at 09:22:17PM -0700, Kees Cook wrote: > Extend the ARC builtin infrastructure to support function attributes > and mark the appropriate mathematical builtins as const: Hello again. Is someone able to review and commit this change please? Thanks! -Kees -- Kees Cook

[PATCH v1 1/2] aarch64: Fix condition accepted by movcc

2025-09-30 Thread via Sourceware Forge
From: Karl Meakin Apply the same fix from bc11cbff9e648fdda2798bfa2d7151d5cd164b87 ("aarch64: Fix condition accepted by movcc") to `MOVcc`. Fixes ICEs when compiling code such as `cmpbr-4.c` with `+cmpbr`. gcc/ChangeLog: * config/aarch64/aarch64.md(movcc): Accept MODE_CC condit

[PATCH] v2: Fix various comment typos

2025-09-30 Thread Jakub Jelinek
On Tue, Sep 30, 2025 at 01:02:25PM +, Kyrylo Tkachov wrote: > > - /* At this point we invalidate porfile confistency until > > IFN_LOOP_VECTORIZED > > + /* At this point we invalidate profile confistency until > > IFN_LOOP_VECTORIZED > > By sheer coincidence there’s another typo in this li

Re: [PATCH] Fix various comment typos

2025-09-30 Thread Kyrylo Tkachov
> On 30 Sep 2025, at 14:56, Jakub Jelinek wrote: > > Hi! > > The following patch fixes various comment typos. > > Ok for trunk? > > 2025-09-30 Jakub Jelinek > > gcc/ > * auto-profile.h (maybe_hot_afdo_count_p): Fix comment typos, > possiby -> possibly and ture -> true. > * gimplify.cc (b

[PATCH] Fix various comment typos

2025-09-30 Thread Jakub Jelinek
Hi! The following patch fixes various comment typos. Ok for trunk? 2025-09-30 Jakub Jelinek gcc/ * auto-profile.h (maybe_hot_afdo_count_p): Fix comment typos, possiby -> possibly and ture -> true. * gimplify.cc (build_asan_poison_call_expr): Remove "of a " fro

[PATCH v1] LoongArch: Fix bug for PR122097.

2025-09-30 Thread Lulu Cheng
When implementing the vector template for copysign, we used vector floating-point AND and IOR operations. This allows AND and IOR operands to be vector floating-point types. However, the constraint YC does not handle vector floating-point constants, resulting in ICE. PR target/122097 gcc/

Fix precise 0 handling in afdo_propagate_edge

2025-09-30 Thread Jan Hubicka
Fix precise 0 handling in afdo_propagate_edge Currently afdo_propagate_edge will turn precise 0 to autofdo 0 because it thinks auto-profile claims some samples has been executed in the given basic block, while this is only a consequence of < being defined by 0 (predise) < 0 (autofdo) Bootstrapp

Ping 9: [PATCH v4 0/1] Add warnings of potentially-uninitialized padding bits

2025-09-30 Thread Christopher Bazley
Ping On 21/05/2025 16:13, Christopher Bazley wrote: Commit 0547dbb725b reduced the number of cases in which union padding bits are zeroed when the relevant language standard does not strictly require it, unless gcc was invoked with -fzero-init-padding-bits=unions or -fzero-init-padding-bits=all

Re: [PATCH v5 1/2] libstdc++: Implement std::layout_left_padded [PR110352].

2025-09-30 Thread Luc Grosheintz
On 9/30/25 10:14 AM, Tomasz Kamiński wrote: From: Luc Grosheintz This commit adds a new layout layout_left_padded as standardized in N5014. It adds a purely internal feature testing macro padded_layouts and registers layout_left_padded in the std module. This commit implements LWG4372, beca