https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118560
Bug ID: 118560
Summary: [15 regression] ICE when building
powerpc-unknown-linux-gnu cross-compiler
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: build, ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: sjames at gcc dot gnu.org
Target Milestone: ---
Created attachment 60211
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60211&action=edit
_sd_to_usi.i.xz
Last week's snapshot was fine.
```
$
/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/build/./gcc/cc1
-fpreprocessed ../../../build/powerpc-unknown-linux-gnu/libgcc/_sd_to_usi.i -O2
getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked
putc_unlocked putchar_unlocked feof_unlocked ferror_unlocked sprintf vsprintf
snprintf vsnprintf fprintf printf vprintf vfprintf dprintf vdprintf fgets fread
fread_unlocked atoi atol atoll __bswap_16 __bswap_32 __bswap_64
__uint16_identity __uint32_identity __uint64_identity bsearch atof realpath
ptsname_r wctomb mbstowcs wcstombs bcopy bzero memcpy memmove memset
explicit_bzero strcpy stpcpy strncpy stpncpy strcat strncat strlcpy strlcat
dfp_binary_op d32_binary_op dfp_compare_op d32_compare_op
dfp_conversion_exceptions __dpd_fixunssdsi
Analyzing compilation unit
Performing interprocedural optimizations
<*free_lang_data> {heap 1296k} <visibility> {heap 1296k} <build_ssa_passes>
{heap 1296k} <opt_local_passes> {heap 1620k} <remove_symbols> {heap 2212k}
<targetclone> {heap 2212k} <free-fnsummary> {heap 2212k} <increase_alignment>
{heap 2212k}Streaming LTO
<whole-program> {heap 2212k} <profile_estimate> {heap 2212k} <icf> {heap
2212k} <devirt> {heap 2212k} <cp> {heap 2212k} <sra> {heap 2212k} <fnsummary>
{heap 2212k} <inline> {heap 2212k} <pure-const> {heap 2212k} <modref> {heap
2212k} <free-fnsummary> {heap 2212k} <static-var> {heap 2212k} <single-use>
{heap 2212k} <comdats> {heap 2212k}Assembling functions:
__dpd_fixunssdsiduring RTL pass: reload
/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/gcc-15-20250119/libgcc/dfp-bit.c:
In function '__dpd_fixunssdsi':
/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/gcc-15-20250119/libgcc/dfp-bit.c:502:1:
internal compiler error: in rs6000_emit_move, at config/rs6000/rs6000.cc:11091
502 | }
| ^
0x7c31fde03546 __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7c31fde035f6 __libc_start_main_impl
../csu/libc-start.c:360
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.gentoo.org/> for instructions.
```
---
```
$
/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/build/./gcc/xgcc
-v
Using built-in specs.
COLLECT_GCC=/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/build/./gcc/xgcc
Target: powerpc-unknown-linux-gnu
Configured with:
/var/tmp/portage/cross-powerpc-unknown-linux-gnu/gcc-15.0.1_pre20250119/work/gcc-15-20250119/configure
--host=x86_64-pc-linux-gnu --target=powerpc-unknown-linux-gnu
--build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/powerpc-unknown-linux-gnu/gcc-bin/15
--includedir=/usr/lib/gcc/powerpc-unknown-linux-gnu/15/include
--datadir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/15
--mandir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/15/man
--infodir=/usr/share/gcc-data/powerpc-unknown-linux-gnu/15/info
--with-gxx-include-dir=/usr/lib/gcc/powerpc-unknown-linux-gnu/15/include/g++-v15
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/powerpc-unknown-linux-gnu/15/python
--enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror
--with-system-zlib --disable-nls --disable-libunwind-exceptions
--enable-checking=yes,extra --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo 15.0.1_pre20250119 p42' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch
--enable-poison-system-directories
--with-sysroot=/usr/powerpc-unknown-linux-gnu --disable-gcov
--disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu
--disable-multilib --disable-fixed-point --enable-targets=all --disable-libgomp
--disable-libssp --disable-libada --disable-systemtap
--enable-valgrind-annotations --disable-vtable-verify --disable-libvtv
--without-zstd --without-isl --disable-libsanitizer --enable-default-pie
--enable-host-pie --disable-host-bind-now --enable-default-ssp
--disable-fixincludes
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 15.0.1 20250119 (experimental) (Gentoo 15.0.1_pre20250119 p42)
```