https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78310
Bug ID: 78310 Summary: ICE: insn does not satisfy its constraints: {*bmi2_rorxdi3_1} with -mbmi2 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Target: x86_64-pc-linux-gnu Created attachment 40021 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40021&action=edit reduced testcase Compiler output: $ x86_64-pc-linux-gnu-gcc -O -mbmi2 testcase.c testcase.c: In function 'fn1': testcase.c:12:1: error: insn does not satisfy its constraints: } ^ (insn 24 11 13 2 (set (reg:DI 0 ax [orig:92 _6 ] [92]) (rotatert:DI (reg:DI 0 ax [orig:90 a.0_4 ] [90]) (const_int 64 [0x40]))) "testcase.c":10 603 {*bmi2_rorxdi3_1} (nil)) testcase.c:12:1: internal compiler error: in extract_constrain_insn, at recog.c:2213 0xb666b3 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.c:108 0xb66727 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /repo/gcc-trunk/gcc/rtl-error.c:119 0xb1d59d extract_constrain_insn(rtx_insn*) /repo/gcc-trunk/gcc/recog.c:2213 0xb2c448 copyprop_hardreg_forward_1 /repo/gcc-trunk/gcc/regcprop.c:794 0xb2d994 execute /repo/gcc-trunk/gcc/regcprop.c:1301 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. $ x86_64-pc-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-242046-checking-yes-rtl-df-extra-nographite-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --without-cloog --without-ppl --without-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-242046-checking-yes-rtl-df-extra-nographite-amd64 Thread model: posix gcc version 7.0.0 20161110 (experimental) (GCC)