From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25002 invoked by alias); 8 Mar 2010 02:37:31 -0000 Received: (qmail 24960 invoked by uid 48); 8 Mar 2010 02:37:20 -0000 Date: Mon, 08 Mar 2010 02:37:00 -0000 Message-ID: <20100308023720.24959.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/43281] [c++0x] ICE in nested lambda functions with invalid auto In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-03/txt/msg00595.txt.bz2 ------- 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