]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/77585 (g++ incorrectly decides that member function is called without objec...
authorNathan Sidwell <nathan@acm.org>
Thu, 15 Dec 2016 19:50:25 +0000 (19:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 15 Dec 2016 19:50:25 +0000 (19:50 +0000)
commit2a810dedce593e9b015a051a0dfb36dfb7e563bf
tree766e2803161094e7b8b634270c752d10caec7d52
parenta3998c2fb1630638db83defcd2c680111d65b973
re PR c++/77585 (g++ incorrectly decides that member function is called without object in generic lambda)

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.

From-SVN: r243723
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr77585.C [new file with mode: 0644]