http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50430
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-09-16 15:02:42 UTC --- Created attachment 25306 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25306 testcase One will need to revert the gimple-fold.c patch mentioned above to get an error. Otherwise it is just missed optimization. /abuild/jh/trunk-install/bin/g++ -O2 -flto -fuse-linker-plugin -Ur -nostdlib *.ii -fpermissive -std=c++0x lto1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: /abuild/jh/trunk-install/bin/g++ returned 1 exit status