Re: [PATCH] c++: fix rejects-valid and ICE with constexpr NSDMI [PR110822]

2025-02-19 Thread Patrick Palka
On Wed, 19 Feb 2025, Marek Polacek wrote: > I suppose it's safer to leave this for GCC 16, but anyway: > > Bootstrapped/regtested on x86_64-pc-linux-gnu. > > -- >8 -- > Since r10-7718 the attached tests produce an ICE in verify_address: > > error: constant not recomputed when 'ADDR_EXPR' chan

[PATCH] c++: fix rejects-valid and ICE with constexpr NSDMI [PR110822]

2025-02-19 Thread Marek Polacek
I suppose it's safer to leave this for GCC 16, but anyway: Bootstrapped/regtested on x86_64-pc-linux-gnu. -- >8 -- Since r10-7718 the attached tests produce an ICE in verify_address: error: constant not recomputed when 'ADDR_EXPR' changed but before that we wrongly rejected the tests with "is