Re: [PATCH] c++: ICE with aggregate assignment and DMI [PR104583]

2022-03-30 Thread Marek Polacek via Gcc-patches
On Tue, Mar 29, 2022 at 10:19:47PM -0400, Jason Merrill wrote: > On 3/25/22 18:16, Marek Polacek wrote: > > The attached 93280 test no longer ICEs but looks like it was never added to > > the > > testsuite. The 104583 test, modified so that it closely resembles 93280, > > still > > ICEs. > > >

Re: [PATCH] c++: ICE with aggregate assignment and DMI [PR104583]

2022-03-29 Thread Jason Merrill via Gcc-patches
On 3/25/22 18:16, Marek Polacek wrote: The attached 93280 test no longer ICEs but looks like it was never added to the testsuite. The 104583 test, modified so that it closely resembles 93280, still ICEs. The problem is that in 104583 we have a value-init from {} (the line A a{};), so this code

[PATCH] c++: ICE with aggregate assignment and DMI [PR104583]

2022-03-25 Thread Marek Polacek via Gcc-patches
The attached 93280 test no longer ICEs but looks like it was never added to the testsuite. The 104583 test, modified so that it closely resembles 93280, still ICEs. The problem is that in 104583 we have a value-init from {} (the line A a{};), so this code in convert_like_internal 7960 /