c++: abstract class and overload resolution
commit55731b59e6036bd8d262feea54863399229545f4
authorJason Merrill <jason@redhat.com>
Fri, 20 Oct 2023 20:23:43 +0000 (20 16:23 -0400)
committerJason Merrill <jason@redhat.com>
Fri, 20 Oct 2023 21:49:50 +0000 (20 17:49 -0400)
tree5901ea19900b9cc7dcec3bdc2258eacc58f343d8
parent7d4e99131606badcdc343cce62691245dac11bb4
c++: abstract class and overload resolution

In my implementation of P0929 I treated a conversion to an rvalue of
abstract class type as a bad conversion, but that's still too soon to check
it; we need to wait until we're done with overload resolution.

gcc/cp/ChangeLog:

* call.cc (implicit_conversion_1): Rename...
(implicit_conversion): ...to this.  Remove the old wrapper.

gcc/testsuite/ChangeLog:

* g++.dg/template/sfinae-dr657.C: Adjust.
gcc/cp/call.cc
gcc/testsuite/g++.dg/template/sfinae-dr657.C