[Bug c++/93842] generic lambda accesses a variable with with automatic storage duration that wasn't captured by the lambda expression

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 20 08:25:00 GMT 2020


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, diagnostic

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Hmm, maybe a 'constexpr char' isn't  a variable with automatic storage
duration.


More information about the Gcc-bugs mailing list