https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120480

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 61552
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61552&action=edit
preprocessed source

/home/abuild/rpmbuild/BUILD/cross-s390x-gcc13-13.3.1+git9727-build/gcc-13.3.1+git9727/obj-x86_64-suse-linux/./gcc/cc1
-fpreprocessed decNumber.i -quiet -dumpbase decNumber.c -dumpbase-ext .c
-mlong-double-128 -mtune=zEC12 -march=z196 -m64 -mzarch -g -g -g -O2 -O2 -O2
-Wextra -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -version -fbuilding-libgcc
-fno-stack-protector -fPIC -o decNumber.s
GNU C17 (SUSE Linux) version 13.3.1 20250530 [revision
03ae1212a94a8800f0dbc6a3df9bf557a93c63b8] (s390x-suse-linux)
        compiled by GNU C version 14.3.0, GMP version 6.3.0, MPFR version
4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 00000000000000000000000000000000
../../../libgcc/../libdecnumber/decNumber.c: In function 'decToString':
../../../libgcc/../libdecnumber/decNumber.c:3760:3: error: could not split insn
 3760 |   } /* decToString */
      |   ^
(insn 136 135 2002 (parallel [
            (set (mem:BLK (plus:DI (reg/v/f:DI 3 %r3 [orig:189 string ] [189])
                        (const_int 3 [0x3])) [0 MEM <char[1:6]> [(void *)_18]+0
S6 A8])
                (mem/u/c:BLK (reg/f:DI 10 %r10 [221]) [0 MEM <char[1:6]> [(void
*)"inity"]+0 S6 A16]))
            (use (const_int 5 [0x5]))
            (use (const:BLK (unspec:BLK [
                            (const_int 0 [0])
                        ] UNSPEC_INSN)))
            (clobber (reg:DI 1 %r1 [402]))
        ]) "../../../libgcc/../libdecnumber/decNumber.c":3637:7 1517
{*cpymem_short}
     (expr_list:REG_DEAD (reg/f:DI 10 %r10 [221])
        (expr_list:REG_DEAD (reg/v/f:DI 3 %r3 [orig:189 string ] [189])
            (expr_list:REG_UNUSED (reg:DI 1 %r1 [402])
                (nil)))))
during RTL pass: final
../../../libgcc/../libdecnumber/decNumber.c:3760:3: internal compiler error: in
final_scan_insn_1, at final.cc:2812
0x4240af _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.cc:108
0x416921 final_scan_insn_1
        ../../gcc/final.cc:2812
0x6a597b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
        ../../gcc/final.cc:2891
0x6a5c07 final_1
        ../../gcc/final.cc:1983
0x6a6484 rest_of_handle_final
        ../../gcc/final.cc:4244
0x6a6484 execute
        ../../gcc/final.cc:4322
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.opensuse.org/> for instructions.

Reply via email to