https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66481
Bug ID: 66481 Summary: Implicit lambda capture by reference of variable named "closure" causes crash Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mxawng at gmail dot com Target Milestone: --- Created attachment 35736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35736&action=edit preprocessed source of repro As title. The parser crashes when g++ is asked to compile a source file in which a variable named "closure" is implicitly captured by a lambda. == Version == my-favorite-server:~$ g++ --version g++ (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.