Re: [PATCH] c++: non-dep call with empty TYPE_BINFO [PR105758]

2022-05-31 Thread Jason Merrill via Gcc-patches
On 5/31/22 12:28, Patrick Palka wrote: Here the out-of-line definition of Z::z causes duplicate_decls to change z's type to use the implicit instantiation Z rather than the corresponding primary template type (which is also the type of the injected class name), and the former, being a dependent

[PATCH] c++: non-dep call with empty TYPE_BINFO [PR105758]

2022-05-31 Thread Patrick Palka via Gcc-patches
Here the out-of-line definition of Z::z causes duplicate_decls to change z's type to use the implicit instantiation Z rather than the corresponding primary template type (which is also the type of the injected class name), and the former, being a dependent specialization, lacks a TYPE_BINFO