Re: [PATCH] c++: wrong-code with consteval constructor [PR117501]

2025-01-29 Thread Jason Merrill
On 1/27/25 6:19 PM, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- We've had a wrong-code problem since r14-4140, due to which we forget to initialize a variable. In consteval39.C, we evaluate struct QQQ q; <>> (const char *) "" >>>

[PATCH] c++: wrong-code with consteval constructor [PR117501]

2025-01-27 Thread Marek Polacek
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk/14? -- >8 -- We've had a wrong-code problem since r14-4140, due to which we forget to initialize a variable. In consteval39.C, we evaluate struct QQQ q; <>> (const char *) "" ) >; into struct QQQ q; <; a