------- Comment #1 from d dot g dot gorbachev at gmail dot com 2009-10-16 21:57 ------- Created an attachment (id=18814) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18814&action=view) testcase
A similar problem: bug.cc: In function 'void f()': bug.cc:5:20: error: '__cxa_begin_catch' cannot be used as a function bug.cc:5:20: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1221 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40033