http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54825
--- Comment #8 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-05 14:29:07 UTC --- Hmm, how should I compile the code? I tried with g++ bug.cc -std=c++11 but that fails because of typeof (you want decltype instead). With -std=gnu++11, I get an error that "the last argument must be an 8-bit immediate" in __builtin_ia32_psrldqi128, which seems like a bug, but not the ICE reported here. Ah, if I remove the body of __sse2_recursion (and make it non-inline) and compile with -O2, then I get an ICE (but not with -O1) in tree-ssa-pre.c. Is that it? I'll look (but will probably have to defer to more knowledgeable people).