------- Comment #1 from jason at gcc dot gnu dot org 2010-03-08 02:37 ------- The code is ill-formed; specifically, the line
auto val = val; violates 7.1.6.4/3: "The name of the object being declared shall not appear in the initializer expression." -- 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 | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Last reconfirmed|0000-00-00 00:00:00 |2010-03-08 02:37:20 date| | Summary|[c++0x] ICE in nested lambda|[c++0x] ICE in nested lambda |functions, in a special case|functions with invalid auto http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43281