public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66481] New: Implicit lambda capture by reference of variable named "closure" causes crash
@ 2015-06-10 1:07 mxawng at gmail dot com
2015-06-10 7:42 ` [Bug c++/66481] Implicit lambda capture " redi at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: mxawng at gmail dot com @ 2015-06-10 1:07 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/66481] Implicit lambda capture of variable named "closure" causes crash
2015-06-10 1:07 [Bug c++/66481] New: Implicit lambda capture by reference of variable named "closure" causes crash mxawng at gmail dot com
@ 2015-06-10 7:42 ` redi at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2015-06-10 7:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66481
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
Target Milestone|--- |4.8.5
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Already fixed in the 4.8 branch, and later releases.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-10 7:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-10 1:07 [Bug c++/66481] New: Implicit lambda capture by reference of variable named "closure" causes crash mxawng at gmail dot com
2015-06-10 7:42 ` [Bug c++/66481] Implicit lambda capture " redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).