https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585
Nathan Sidwell <nathan at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nathan at gcc dot gnu.org
--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> ---
Created attachment 40336
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40336&action=edit
smaller testcase
I independently reduced an exemplar to the attached testcase. The necessary
condition is that the lambda is defined within the argument list of the
function it is being passed to.