Re: [PATCH] c++: ICE with MODIFY_EXPR in constexpr [PR118169]

2025-01-07 Thread Jason Merrill
On 1/7/25 10:58 AM, Marek Polacek wrote: Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? OK. -- >8 -- Here, cxx_eval_outermost_expression gets a sequence of initialization statements: D.2912.t = TARGET_EXPR <...>; TARGET_EXPR ; D.2922 = 0; the last of which wasn't conv

[PATCH] c++: ICE with MODIFY_EXPR in constexpr [PR118169]

2025-01-07 Thread Marek Polacek
Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk? -- >8 -- Here, cxx_eval_outermost_expression gets a sequence of initialization statements: D.2912.t = TARGET_EXPR <...>; TARGET_EXPR ; D.2922 = 0; the last of which wasn't converted to void and so we, since r15-6369, do not take