http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48259
--- Comment #1 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2011-03-23 19:45:13 UTC --- Created attachment 23761 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23761 testcase, based on libstdc++ GCC 4.6.0 and 4.7.0 with -flto -O2: lto1: internal compiler error: in ipcp_iterate_stage, at ipa-cp.c:891 4.6.0 with -flto: lto1: internal compiler error: in cgraph_mark_functions_to_output, at cgraphunit.c:11 4.7.0 with -flto: [...] lto1: internal compiler error: failed to reclaim unneeded function