http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50202
Bug #: 50202 Summary: ICE: in final_scan_insn, at final.c:2709 (could not split insn) with __builtin_ia32_pcmpistri128 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 25113 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25113 reduced testcase Compiler output: $ gcc -O -mf16c -fno-dce -fno-tree-dse testcase.c testcase.c: In function 'foo': testcase.c:10:1: error: could not split insn (insn 6 5 9 2 (parallel [ (set (reg:SI 2 cx [61]) (unspec:SI [ (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (const_int 255 [0xff]) ] UNSPEC_PCMPISTR)) (set (reg:V16QI 21 xmm0 [62]) (unspec:V16QI [ (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (const_int 255 [0xff]) ] UNSPEC_PCMPISTR)) (set (reg:CC 17 flags) (unspec:CC [ (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (reg:V16QI 21 xmm0 [orig:59 v.0 ] [59]) (const_int 255 [0xff]) ] UNSPEC_PCMPISTR)) ]) testcase.c:8 1767 {sse4_2_pcmpistr} (expr_list:REG_UNUSED (reg:V16QI 21 xmm0 [62]) (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_UNUSED (reg:SI 2 cx [61]) (nil))))) testcase.c:10:1: internal compiler error: in final_scan_insn, at final.c:2709 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r178096 - crash 4.6 r177922 - crash