https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480
Bug ID: 120480 Summary: ICE: could not split insn Product: gcc Version: 13.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Building a cross compiler to s390x yields [ 199s] /home/abuild/rpmbuild/BUILD/cross-s390x-gcc13-13.3.1+git9727-build/gcc-13.3.1+git9727/obj-x86_64-suse-linux/./gcc/xgcc -B/home/abuild/ rpmbuild/BUILD/cross-s390x-gcc13-13.3.1+git9727-build/gcc-13.3.1+git9727/obj-x86_64-suse-linux/./gcc/ -B/usr/s390x-suse-linux/bin/ -B/usr/s390x -suse-linux/lib/ -isystem /usr/s390x-suse-linux/include -isystem /usr/s390x-suse-linux/sys-include --sysroot=/usr/s390x-suse-linux/sys-root - g -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -W missing-prototypes -Wold-style-definition -isystem ./include -fPIC -mlong-double-128 -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -mlong-double-128 -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -I../../../libgcc/../libdecnumber/dpd -I../../../libgcc/../libdecnumber -DHAVE_CC_TLS -o decNumber.o -MT decNumber.o -MD -MP -MF decNumber.dep -c ../../../libgcc/../libdecnumber/decNumber.c [ 199s] ../../../libgcc/../libdecnumber/decNumber.c: In function 'decToString': [ 199s] ../../../libgcc/../libdecnumber/decNumber.c:3760:3: error: could not split insn [ 199s] 3760 | } /* decToString */ [ 199s] | ^ [ 199s] (insn 136 135 2002 (parallel [ [ 199s] (set (mem:BLK (plus:DI (reg/v/f:DI 3 %r3 [orig:189 string ] [189]) [ 199s] (const_int 3 [0x3])) [0 MEM <char[1:6]> [(void *)_18]+0 S6 A8]) [ 199s] (mem/u/c:BLK (reg/f:DI 10 %r10 [221]) [0 MEM <char[1:6]> [(void *)"inity"]+0 S6 A16])) [ 199s] (use (const_int 5 [0x5])) [ 199s] (use (const:BLK (unspec:BLK [ [ 199s] (const_int 0 [0]) [ 199s] ] UNSPEC_INSN))) [ 199s] (clobber (reg:DI 1 %r1 [402])) [ 199s] ]) "../../../libgcc/../libdecnumber/decNumber.c":3637:7 1517 {*cpymem_short} [ 199s] (expr_list:REG_DEAD (reg/f:DI 10 %r10 [221]) [ 199s] (expr_list:REG_DEAD (reg/v/f:DI 3 %r3 [orig:189 string ] [189]) [ 199s] (expr_list:REG_UNUSED (reg:DI 1 %r1 [402]) [ 199s] (nil))))) [ 199s] during RTL pass: final [ 199s] ../../../libgcc/../libdecnumber/decNumber.c:3760:3: internal compiler error: in final_scan_insn_1, at final.cc:2812 Configured with ../configure 'CFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' 'CXXFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' 'XCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' 'TCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g' 'GDCFLAGS= -O2 -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g' --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++ --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/13 --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --disable-plugin --with-bugurl=https://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux' --with-slibdir=/usr/s390x-suse-linux/sys-root/lib64 --with-system-zlib --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-13 --program-prefix=s390x-suse-linux- --target=s390x-suse-linux --disable-nls --with-sysroot=/usr/s390x-suse-linux/sys-root --with-build-sysroot=/usr/s390x-suse-linux/sys-root --with-build-time-tools=/usr/s390x-suse-linux/bin --with-tune=zEC12 --with-arch=z196 --with-long-double-128 --enable-decimal-float --disable-multilib --disable-bootstrap --enable-link-serialization --disable-libsanitizer --build=x86_64-suse-linux --host=x86_64-suse-linux