This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54825] ICE with vector extension
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 14:29:07 +0000
- Subject: [Bug c++/54825] ICE with vector extension
- Auto-submitted: auto-generated
- References: <bug-54825-4@http.gcc.gnu.org/bugzilla/>
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).