Re: [PATCH] c++: improve constexpr prvalue folding [PR116416]

2025-04-12 Thread Patrick Palka
On Sat, 12 Apr 2025, Jason Merrill wrote: > On 4/11/25 4:36 PM, Patrick Palka wrote: > > Boostrapped and regtested on x86_64-pc-linux- gnu, does this look OK > > for GCC 15 perhaps? > > > > -- >8 -- > > > > This patch improves upon r15-6052-g12de1942a0a673 by performing prvalue > > folding with

Re: [PATCH] c++: improve constexpr prvalue folding [PR116416]

2025-04-12 Thread Jason Merrill
On 4/11/25 4:36 PM, Patrick Palka wrote: Boostrapped and regtested on x86_64-pc-linux- gnu, does this look OK for GCC 15 perhaps? -- >8 -- This patch improves upon r15-6052-g12de1942a0a673 by performing prvalue folding with mce_false rather than mce_unknown when it's safe to do so (i.e. the cal

[PATCH] c++: improve constexpr prvalue folding [PR116416]

2025-04-11 Thread Patrick Palka
Boostrapped and regtested on x86_64-pc-linux- gnu, does this look OK for GCC 15 perhaps? -- >8 -- This patch improves upon r15-6052-g12de1942a0a673 by performing prvalue folding with mce_false rather than mce_unknown when it's safe to do so (i.e. the caller passed ff_mce_false), so that we can al