From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13966 invoked by alias); 15 Feb 2010 14:34:38 -0000 Received: (qmail 13937 invoked by uid 48); 15 Feb 2010 14:34:25 -0000 Date: Mon, 15 Feb 2010 14:34:00 -0000 Subject: [Bug c++/43081] New: [c++0x] ICE with invalid use of lambda expression X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt 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-02/txt/msg01412.txt.bz2 The following invalid code snippet triggers an ICE on trunk: ======================================= struct A { typedef void (F)(); F f = []{}; }; ======================================= bug.cc:4:12: internal compiler error: in grokfield, at cp/decl2.c:911 Please submit a full bug report, [etc.] -- Summary: [c++0x] ICE with invalid use of lambda expression Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43081