Re: [PATCH v2] c++: Properly detect calls to digest_init in build_vec_init [PR114619]

2025-02-03 Thread Jason Merrill
On 2/3/25 8:29 AM, Simon Martin wrote: Hi Jason, On 16 Jan 2025, at 23:28, Jason Merrill wrote: On 10/19/24 5:09 AM, Simon Martin wrote: We currently ICE in checking mode with cxx_dialect < 17 on the following valid code === cut here === struct X { X(const X&) {} }; extern X x; void foo

[PATCH v2] c++: Properly detect calls to digest_init in build_vec_init [PR114619]

2025-02-03 Thread Simon Martin
Hi Jason, On 16 Jan 2025, at 23:28, Jason Merrill wrote: > On 10/19/24 5:09 AM, Simon Martin wrote: >> We currently ICE in checking mode with cxx_dialect < 17 on the >> following >> valid code >> >> === cut here === >> struct X { >>X(const X&) {} >> }; >> extern X x; >> void foo () { >>n