http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57098
Bug #: 57098 Summary: ICE: in extract_insn, at recog.c:2154 (unrecognizable insn) with -mcmodel=large -msse4 and __builtin_shuffle() Classification: Unclassified Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 29957 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29957 reduced testcase Compiler output: $ gcc -mcmodel=large -msse4 testcase.c testcase.c: In function 'foo': testcase.c:6:1: error: unrecognizable insn: } ^ (insn 19 18 20 2 (set (reg:V16QI 71) (unspec:V16QI [ (reg:V16QI 71) (mem/u/c:V16QI (symbol_ref/u:DI ("*.LC1") [flags 0x2]) [0 S16 A128]) ] UNSPEC_PSHUFB)) testcase.c:5 -1 (nil)) testcase.c:6:1: internal compiler error: in extract_insn, at recog.c:2154 0x9b919a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/rtl-error.c:109 0x9b922a _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /mnt/svn/gcc-trunk/gcc/rtl-error.c:117 0x974fa1 extract_insn(rtx_def*) /mnt/svn/gcc-trunk/gcc/recog.c:2154 0x811c67 instantiate_virtual_regs_in_insn /mnt/svn/gcc-trunk/gcc/function.c:1561 0x811c67 instantiate_virtual_regs /mnt/svn/gcc-trunk/gcc/function.c:1926 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-198362-lto-fortran-checking-yes-rtl-df/ --without-cloog --without-ppl Thread model: posix gcc version 4.9.0 20130427 (experimental) (GCC) Tested revisions: r198362 - crash 4.8 r198018 - crash 4.7 r198018 - crash 4.6 r198018 - doesn't recognise __builtin_shuffle()