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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Sep 18 18:37:10 2017
New Revision: 252945

URL: https://gcc.gnu.org/viewcvs?rev=252945&root=gcc&view=rev
Log:
        PR c++/80767 - unnecessary instantiation of generic lambda

        PR c++/82030 - ICE inheriting from multiple lambdas
        * call.c (convert_like_real): Call build_user_type_conversion_1 if
        cand is null.
        (add_conv_candidate): Build a ck_user conversion with no candidate.
        (compare_ics): Handle null candidate.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv12.C
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/lambda-inherit1.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/call.c

Reply via email to