https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116030
Bug ID: 116030 Summary: ICE "could not split insn" in final_scan_insn_1, at final.cc on power pc 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-pc-linux-gnu Target: ppc64le-linux-gnu Compiling the gcc.dg/dfp/int128-3.c GCC testsuite file with a power pc crosscompiler like this ppc64le-linux-gnu-gcc /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/dfp/int128-3.c -Os -fno-forward-propagate -ftrivial-auto-var-init=zero results in an ICE /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/dfp/int128-3.c: In function ‘main’: /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/dfp/int128-3.c:81:1: error: could not split insn 81 | } | ^ (insn:TI 346 359 25 (set (mem/v/c:V4SI (reg:DI 9 9 [330]) [0 MEM <char[1:16]> [(void *)&u128]+0 S16 A128]) (const_vector:V4SI [ (const_int 0 [0]) repeated x4 ])) "/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/dfp/int128-3.c":34:23 1371 {vsx_stxvd2x4_le_const_v4si} (expr_list:REG_DEAD (reg:DI 9 9 [330]) (nil))) during RTL pass: final /home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.dg/dfp/int128-3.c:81:1: internal compiler error: in final_scan_insn_1, at final.cc:2807 0x188f93e internal_error(char const*, ...) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/diagnostic-global-context.cc:491 0x682957 fancy_abort(char const*, int, char const*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/diagnostic.cc:1725 0x660a17 _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 0x6520ff final_scan_insn_1 /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:2807 0x8fb968 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:2886 0x8fbbf5 final_1 /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:1977 0x8fc3e6 rest_of_handle_final /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:4239 0x8fc3e6 execute /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/gcc/final.cc:4317 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/15.0.0/lto-wrapper Target: ppc64le-linux-gnu Configured with: /home/worker/buildworker/tiber-gcc-trunk-ppc64le/build/configure --enable-languages=c,c++,fortran --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 15.0.0 20240721 (experimental) 838999bb23303edc14e96b6034cd837fa4454cfd (GCC)