------- 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()::<lambda()>::__lambda0()'
decl2.cpp:9:11: note: candidates are: main()::<lambda()>::<lambda>(const
main()::<lambda()>&)
decl2.cpp:9:11: note:                
main()::<lambda()>::<lambda>(main()::<lambda()>&&)
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 <http://gcc.gnu.org/bugs.html> 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

Reply via email to