This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Jul 2016 18:49:56 +0000
- Subject: [Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object
- Auto-submitted: auto-generated
- References: <bug-71117-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 15 18:49:25 2016
New Revision: 238394
URL: https://gcc.gnu.org/viewcvs?rev=238394&root=gcc&view=rev
Log:
PR c++/71117 - core 2189 and generic lambda
* call.c (add_template_conv_candidate): Disable if there are
viable candidates.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/testsuite/g++.dg/cpp0x/conv-tmpl1.C