[C++ PATCH] Make taking the address of an overloaded function a non-deduced context

Ville Voutilainen ville.voutilainen@gmail.com
Wed Aug 30 12:32:00 GMT 2017


On 30 August 2017 at 01:25, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 30 August 2017 at 01:19, Ville Voutilainen
> <ville.voutilainen@gmail.com> wrote:
>> 2017-08-29  Ville Voutilainen  <ville.voutilainen@gmail.com>
>>
>>     Make taking the address of an overloaded function a non-deduced context
>>
>>     cp/
>>
>>     * pt.c (unify_overload_resolution_failure): Return unify_success
>>     instead of unify_invalid.
>>
>>     testsuite/
>>
>>     * g++.dg/overload/template6.C: New.
>
> Ah yes, tested on Linux-PPC64. I see some libstdc++ (runtime) failures
> from the testsuite, but as far as I can
> see they are there even before this patch.

..and were caused by an unclean libstdc++ build on my end. The patch
passes the full testsuite with
no regressions.



More information about the Gcc-patches mailing list