[Bug c++/86943] [7/8 Regression] Wrong code when converting stateless generic lambda to function pointer
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 8 14:50:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86943
--- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 8 14:49:43 2019
New Revision: 268700
URL: https://gcc.gnu.org/viewcvs?rev=268700&root=gcc&view=rev
Log:
PR c++/86943 - wrong code converting generic lambda to pointer.
* pt.c (tsubst_copy_and_build): Don't propagate CALL_FROM_THUNK_P.
Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-conv13.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/pt.c
More information about the Gcc-bugs
mailing list