https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109566
--- Comment #7 from Sebastian Huber <sebastian.hu...@embedded-brains.de> --- (In reply to Jakub Jelinek from comment #6) > How have you configured gcc? I certainly can't reproduce this with > --enable-targets=powerpc64-linux,powerpc-linux --with-cpu-32=power7 > --with-cpu-64=power7 --with-long-double-128 --enable-checking=release > --target=powerpc64-linux-gnu --enable-languages=c,c++,fortran,lto > nor > --target powerpc-linux --enable-languages=c,c++ > configured gccs. I notices this issue with the powerpc-rtems6 target while building Newlib. Can you compile the test case with your compiler? I was able to reproduce the error with the powerpc-elf target: powerpc-elf-gcc -O2 -mcpu=power10 -c test.c /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c: In function '__ieee754_fmod': /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c:32:1: error: unrecognizable insn: 32 | } | ^ (insn 49 8 50 2 (parallel [ (set (reg:CC 100 0) (compare:CC (and:DI (ashift:DI (reg:DI 9 9 [123]) (const_int 33 [0x21])) (const_int -9007199254740992 [0xffe0000000000000])) (const_int 0 [0]))) (clobber (reg:DI 9 9 [127])) ]) "/home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c":21:4 -1 (nil)) during RTL pass: split2 /home/EB/sebastian_h/tmp/bug-gcc-pr109566/test.c:32:1: internal compiler error: in extract_insn, at recog.cc:2791 0x40730a _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/EB/sebastian_h/src/gcc/gcc/rtl-error.cc:108 0x407329 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/EB/sebastian_h/src/gcc/gcc/rtl-error.cc:116 0x957257 extract_insn(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/recog.cc:2791 0x9572b1 extract_insn_cached(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/recog.cc:2680 0x6a99ab cleanup_subreg_operands(rtx_insn*) /home/EB/sebastian_h/src/gcc/gcc/final.cc:3054 0x95561c split_insn /home/EB/sebastian_h/src/gcc/gcc/recog.cc:3420 0x95a392 split_all_insns() /home/EB/sebastian_h/src/gcc/gcc/recog.cc:3488 0x95a4a8 execute /home/EB/sebastian_h/src/gcc/gcc/recog.cc:4412 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.