http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58792
--- Comment #9 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Hristo Venev from comment #8) > Created attachment 31092 [details] > Reduced testcase > > b.cpp: In function ‘int f(int)’: > b.cpp:7:1: internal compiler error: in create_pre_exit, at > mode-switching.c:422 > > GCC fails to compile gcc libstdc++-v3/libsupc++/eh_terminate.cc. > > libstdc++-v3/libsupc++/eh_terminate.cc: In function ‘void (* > std::set_terminate(std::terminate_handler))()’: > libstdc++-v3/libsupc++/eh_terminate.cc:85:1: internal compiler error: in > create_pre_exit, at mode-switching.c:422 If this is with today's compiler, then this is PR58679.