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++/84520] [6/7/8 Regression] ICE with lambda and static member function


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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Feb 27 04:22:24 2018
New Revision: 258027

URL: https://gcc.gnu.org/viewcvs?rev=258027&root=gcc&view=rev
Log:
        PR c++/84520 - ICE with generic lambda in NSDMI.

        * lambda.c (lambda_expr_this_capture): Don't look for fake NSDMI
        'this' in a generic lambda instantiation.

Added:
    branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/lambda-generic-nsdmi1.C
Modified:
    branches/gcc-6-branch/gcc/cp/ChangeLog
    branches/gcc-6-branch/gcc/cp/lambda.c

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