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

2017-08-30 Thread Jason Merrill
On Wed, Aug 30, 2017 at 1:08 PM, Ville Voutilainen wrote: > On 30 August 2017 at 19:07, Jason Merrill wrote: >> Please also remove the error. OK with that change. > > Here's a new and much improved version as discussed on IRC. Tested on >

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

2017-08-30 Thread Ville Voutilainen
On 30 August 2017 at 19:07, Jason Merrill wrote: > Please also remove the error. OK with that change. Here's a new and much improved version as discussed on IRC. Tested on Linux-PPC64. Ok for trunk? 2017-08-30 Ville Voutilainen Make

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

2017-08-30 Thread Jason Merrill
On Tue, Aug 29, 2017 at 6:19 PM, Ville Voutilainen wrote: > 2017-08-29 Ville Voutilainen > > Make taking the address of an overloaded function a non-deduced context > > cp/ > > * pt.c (unify_overload_resolution_failure):

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

2017-08-30 Thread Ville Voutilainen
On 30 August 2017 at 01:25, Ville Voutilainen wrote: > On 30 August 2017 at 01:19, Ville Voutilainen > wrote: >> 2017-08-29 Ville Voutilainen >> >> Make taking the address of an overloaded function a

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

2017-08-29 Thread Ville Voutilainen
On 30 August 2017 at 01:19, Ville Voutilainen wrote: > 2017-08-29 Ville Voutilainen > > Make taking the address of an overloaded function a non-deduced context > > cp/ > > * pt.c (unify_overload_resolution_failure): Return

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

2017-08-29 Thread Ville Voutilainen
2017-08-29 Ville Voutilainen 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: