From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28086 invoked by alias); 21 Jan 2010 05:04:27 -0000 Received: (qmail 26231 invoked by uid 48); 21 Jan 2010 05:04:13 -0000 Date: Thu, 21 Jan 2010 05:04:00 -0000 Message-ID: <20100121050413.26230.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/42083] [C++0x] ICE on invalid with "tree check: expected aggr_init_expr, have error_mark in build_value_init" In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "lloyd at randombit dot net" 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-01/txt/msg02483.txt.bz2 ------- Comment #1 from lloyd at randombit dot net 2010-01-21 05:04 ------- Still ICEs with r156097 $ g++-4.5-r156097 -std=c++0x decl.cpp decl2.cpp: In function 'int main()': decl2.cpp:11:9: error: no matching function for call to 'main()::::__lambda0()' decl2.cpp:9:11: note: candidates are: main()::::(const main()::&) decl2.cpp:9:11: note: main()::::(main()::&&) decl2.cpp:11:9: internal compiler error: tree check: expected aggr_init_expr, have error_mark in build_value_init, at cp/init.c:319 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ g++-4.5-r156097 -v Using built-in specs. COLLECT_GCC=g++-4.5-r156097 COLLECT_LTO_WRAPPER=/usr/local/gcc-4.5-r156097/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-svn/configure --enable-languages=c,c++ --prefix=/usr/local/gcc-4.5-r156097 --program-suffix=-4.5-r156097 Thread model: posix gcc version 4.5.0 20100120 (experimental) (GCC) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42083