--- Comment #7 from jason at gcc dot gnu dot org 2010-05-04 04:42 ---
Fixed.
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
Status|ASSIGNED
--- Comment #6 from darlingm at gmail dot com 2010-04-28 21:27 ---
Looks good, thanks!
No more internal compiler error, and now nicely says "error: '' is not
captured", where is of course the name of the uncaptured variable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4
--- Comment #5 from jason at gcc dot gnu dot org 2010-04-27 20:09 ---
Subject: Bug 43790
Author: jason
Date: Tue Apr 27 20:08:47 2010
New Revision: 158801
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158801
Log:
PR c++/43790
* tree.c (cv_unqualified): Handle er
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-04-26 22:51 ---
Reduced testcase:
void f2() {
([]{ return i; });
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43790
--
jason at gcc dot gnu dot org changed:
What|Removed |Added
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org