This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/71117] [6/7 Regression] Overeager application of conversion to function pointer during overload resolution of call to function object


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71117

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Jul 21 06:16:11 2016
New Revision: 238573

URL: https://gcc.gnu.org/viewcvs?rev=238573&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:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv2.C
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv3.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/call.c
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp0x/conv-tmpl1.C

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]