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++/77585] g++ incorrectly decides that member function is called without object in generic lambda


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

--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Author: nathan
Date: Thu Dec 15 19:50:25 2016
New Revision: 243723

URL: https://gcc.gnu.org/viewcvs?rev=243723&root=gcc&view=rev
Log:
        PR c++/77585
        * pt.c (instantiate_decl): Push to class scope lambda resides
        within when instantiating a generic lambda function.

        PR c++/77585
        * g++.dg/cpp1y/pr77585.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/pr77585.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

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