https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116309
Bug ID: 116309 Summary: ICE unrecognizable insn while compiling pr111821.c for s390 Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pheeck at gcc dot gnu.org Target Milestone: --- Host: x86_64-linux Target: s390x-linux-gnu Compiling the GCC testsuite file gcc.dg/torture/pr111821.c with -O3 or -Oz results in an ICE s390x-linux-gnu-gcc /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/torture/pr111821.c -O3 /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/torture/pr111821.c: In function âfâ: /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/torture/pr111821.c:9:1: error: unrecognizable insn: 9 | } | ^ (insn 7 6 8 2 (parallel [ (set (strict_low_part (subreg:HI (reg:DI 61) 6)) (subreg:HI (reg:DI 64) 6)) (clobber (reg:CC 33 %cc)) ]) "/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/torture/pr111821.c":7:22 -1 (nil)) during RTL pass: vregs /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/torture/pr111821.c:9:1: internal compiler error: in extract_insn, at recog.cc:2869 0x17ce5de internal_error(char const*, ...) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/diagnostic-global-context.cc:491 0x66daad fancy_abort(char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/diagnostic.cc:1772 0x64d5b2 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:108 0x64d5ce _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:116 0x64c9f0 extract_insn(rtx_insn*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/recog.cc:2869 0x925320 instantiate_virtual_regs_in_insn /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:1612 0x925320 instantiate_virtual_regs /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:1995 0x925320 execute /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:2042 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. /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/diagnostic.cc:1772 0x64d5b2 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:108 0x64d5ce _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:116 0x64c9f0 extract_insn(rtx_insn*) /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/recog.cc:2869 0x925320 instantiate_virtual_regs_in_insn /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:1612 0x925320 instantiate_virtual_regs /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:1995 0x925320 execute /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/function.cc:2042 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. Compiler configuration: Using built-in specs. COLLECT_GCC=/home/worker/cross/bin/s390x-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/worker/cross/libexec/gcc/s390x-linux-gnu/15.0.0/lto-wrapper Target: s390x-linux-gnu Configured with: /home/worker/buildworker/tiber-gcc-trunk-s390x/build/configure --enable-languages=c,c++,fortran --disable-bootstrap --disable-libsanitizer --disable-multilib --enable-checking=release --prefix=/home/worker/cross --target=s390x-linux-gnu --with-as=/usr/bin/s390x-suse-linux-as Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240808 (experimental) 7223c64745530db102a160d5a1db4c2c8d2b9fe1 (GCC)