https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116170
Bug ID: 116170 Summary: [15 regression] ICE unrecognizable insn since r15-2084-g33dca0a4c1c421 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: sch...@linux-m68k.org Blocks: 112993 Target Milestone: --- Target: powerpc64le-*-* Created attachment 58791 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58791&action=edit libm-test-support-float128.i https://build.opensuse.org/package/live_build_log/devel:gcc:next/glibc:testsuite/openSUSE_Factory_PowerPC/ppc64le $ gcc /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math/libm-test-support-float128.c -c -std=gnu11 -fgnu89-inline -O2 -Wall -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -mabi=ibmlongdouble -Wall -Wwrite-strings -Wundef -Werror -fmerge-all-constants -frounding-math -fstack-protector-strong -fno-common -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wstrict-prototypes -Wold-style-definition -fmath-errno -mabi=ieeelongdouble -Wno-psabi -mno-gnu-attribute -mlong-double-128 -fPIE -mfloat128 -mabi=ibmlongdouble -fno-inline -ffloat-store -fno-builtin -fsignaling-nans -I../include -I/home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math -I/home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base -I../sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu -I../sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu -I../sysdeps/unix/sysv/linux/powerpc/powerpc64/le -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/powerpc/nptl -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch -I../sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch -I../sysdeps/powerpc/powerpc64/le/fpu/multiarch -I../sysdeps/powerpc/powerpc64/le/power8/fpu -I../sysdeps/powerpc/powerpc64/le/power7/fpu -I../sysdeps/powerpc/powerpc64/le/fpu -I../sysdeps/powerpc/powerpc64/fpu -I../sysdeps/powerpc/powerpc64/le/power8/multiarch -I../sysdeps/powerpc/powerpc64/le/power7/multiarch -I../sysdeps/powerpc/powerpc64/le/multiarch -I../sysdeps/powerpc/powerpc64/multiarch -I../sysdeps/powerpc/powerpc64/le/power8 -I../sysdeps/powerpc/powerpc64/power8 -I../sysdeps/powerpc/powerpc64/le/power7 -I../sysdeps/powerpc/powerpc64/power7 -I../sysdeps/powerpc/powerpc64/power6 -I../sysdeps/powerpc/powerpc64/power4 -I../sysdeps/powerpc/power4 -I../sysdeps/powerpc/powerpc64/le -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/ldbl-128ibm-compat -I../sysdeps/ieee754/ldbl-128ibm/include -I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/float128 -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/libc-modules.h -DMODULE_NAME=testsuite -include ../include/libc-symbols.h -DPIC -DTOP_NAMESPACE=glibc -I../soft-fp -o /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math/libm-test-support-float128.o -MD -MP -MF /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math/libm-test-support-float128.o.dt -MT /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math/libm-test-support-float128.o In file included from /home/abuild/rpmbuild/BUILD/glibc-2.40.9000.38.ge3b0b3484/cc-base/math/libm-test-support-float128.c:2: ./libm-test-support.c: In function ‘check_complex_max_error’: ./libm-test-support.c:479:1: error: unrecognizable insn: 479 | } | ^ (insn 578 0 0 (set (const_vector:V1TI [ (const_int 0 [0]) ]) (reg:V1TI 344)) -1 (nil)) during RTL pass: reload ./libm-test-support.c:479:1: internal compiler error: in extract_insn, at recog.cc:2848 0x108f277f diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, char**, diagnostic_t) ???:0 0x10878c0b internal_error(char const*, ...) ???:0 0x10822343 fancy_abort(char const*, int, char const*) ???:0 0x103f53a3 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) ???:0 0x103f53f7 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) ???:0 0x10ef5643 extract_insn(rtx_insn*) ???:0 0x10f8c217 ira_remove_insn_scratches(rtx_insn*, bool, _IO_FILE*, rtx_def* (*)(rtx_def*)) ???:0 0x11311dcb lra_emit_move(rtx_def*, rtx_def*) ???:0 0x1104cfc7 lra_constraints(bool) ???:0 0x115f975f lra(_IO_FILE*, int) ???:0 $ gcc -v Using built-in specs. Reading specs from /usr/lib64/gcc/powerpc64le-suse-linux/15/defaults.spec COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib64/gcc/powerpc64le-suse-linux/15/lto-wrapper Target: powerpc64le-suse-linux 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++,objc,fortran,obj-c++,ada,go,jit,m2 --enable-host-shared --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/15 --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --enable-ssp --disable-libssp --disable-libvtv --enable-cet=auto --disable-libcc1 --enable-plugin --with-bugurl=https://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/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=-15 --without-system-libunwind --with-cpu=power8 --with-tune=power9 --with-long-double-format=ieee --enable-secureplt --with-long-double-128 --enable-targets=powerpcle-linux --disable-multilib --with-build-config=bootstrap-lto-lean --enable-link-serialization --build=powerpc64le-suse-linux --host=powerpc64le-suse-linux Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240731 (experimental) (SUSE Linux) Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112993 [Bug 112993] rs6000: Rework precision for 128bit float types and modes