https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113115
Bug ID: 113115 Summary: ICE In extract_constrain_insn_cached recog.cc with ppc64le-linux-gnu crosscompiler Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, needs-bisection Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: fkastl at suse dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: ppc64le-linux-gnu While compiling the GCC testcase gcc.target/powerpc/pr103627-3.c with the ppc64le crosscompiler the with these options: ppc64le-linux-gnu-gcc /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.target/powerpc/pr103627-3.c -mno-power8-vector the compiler runs into an ICE /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.target/powerpc/pr103627-3.c: In function ‘main’: /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.target/powerpc/pr103627-3.c:19:1: error: insn does not satisfy its constraints: 19 | } | ^ (insn 55 54 56 (set (reg:OO 32 0) (mem/c:OO (plus:DI (reg/f:DI 9 9 [128]) (const_int 32 [0x20])) [2 c+32 S32 A256])) "/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.target/powerpc/pr103627-3.c":12:1 2172 {*movoo} (nil)) during RTL pass: shorten /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.target/powerpc/pr103627-3.c:19:1: internal compiler error: in extract_constrain_insn_cached, at recog.cc:2725 0x654383 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/rtl-error.cc:108 0x6543a9 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/rtl-error.cc:118 0x6538ee extract_constrain_insn_cached(rtx_insn*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/recog.cc:2725 0x1352337 insn_default_length(rtx_insn*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/config/rs6000/rs6000.md:15156 0x8eada2 shorten_branches(rtx_insn*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:1089 0x8eaddf rest_of_handle_shorten_branches /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:4338 0x8eaddf execute /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:4367 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/ppc64le-linux-gnu-gcc COLLECT_LTO_WRAPPER=/home/worker/cross/libexec/gcc/ppc64le-linux-gnu/14.0.0/lto-wrapper Target: ppc64le-linux-gnu Configured with: /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/configure --enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap --disable-libsanitizer --disable-multilib --enable-checking=release --prefix=/home/worker/cross --target=ppc64le-linux-gnu --with-as=/usr/bin/powerpc64le-suse-linux-as Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231221 (experimental) ec2ec24a4d4d1175f72641a95010c2312eb38ccd (GCC)