------- Comment #11 from sje at cup dot hp dot com 2009-08-05 21:36 ------- Created an attachment (id=18308) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18308&action=view) C++ test case that fails with plausible patch
This is cut down from libstdc++-v3 sources. I am not sure it is still legal C++ but it generates the same error that I was getting during the libstdc++-v3 build. No special options are needed, it will fail with: x.cc: In member function 'virtual std::string std::generic_error_category::message(int) const': x.cc:14:61: internal compiler error: in expand_expr_real_1, at expr.c:7427 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40952