https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121530
Bug ID: 121530
Summary: [16 Regression] ada build fails on
powrpc64le-linux-gnu (ICE in gen_rtx_SUBREG, at
emit-rtl.cc:1048)
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
CC: dkm at gcc dot gnu.org
Target Milestone: ---
seen with trunk 20250813 on powerpc64le-linux-gnu, last successful build on the
trunk 20250804.
during RTL pass: combine
+===========================GNAT BUG DETECTED==============================+
| 16.0.0 20250813 (experimental) [master r16-3178-ge6f4543f633]
(powerpc64le-linux-gnu) GCC error:|
| in gen_rtx_SUBREG, at emit-rtl.cc:1048 |
| Error detected around ../../src/gcc/ada/types.adb:42:8 |
| Compiling ../../src/gcc/ada/types.adb |
| Please submit a bug report; see https://gcc.gnu.org/bugs/ . |
| Use a subject line meaningful to you and us to track the bug. |
| Include the entire contents of this bug box in the report. |
| Include the exact command that you entered. |
| Also include sources listed below. |
+==========================================================================+
Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.
Consider also -gnatd.n switch (see debug.adb).
../../src/gcc/ada/gcc-interface/system.ads
../../src/gcc/ada/types.adb
../../src/gcc/ada/types.ads
../../src/gcc/ada/libgnat/ada.ads
../../src/gcc/ada/libgnat/a-unccon.ads
../../src/gcc/ada/libgnat/a-uncdea.ads
../../src/gcc/ada/libgnat/s-exctab.ads
../../src/gcc/ada/libgnat/s-stalib.ads
../../src/gcc/ada/libgnat/s-unstyp.ads
../../src/gcc/ada/libgnat/s-assert.ads
../../src/gcc/ada/libgnat/a-assert.ads
raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:422
make[5]: *** [../../src/gcc/ada/gcc-interface/Make-lang.in:166: ada/types.o]
Error 1
configured with
--enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2,rust,cobol,algol68
--prefix=/usr/lib/gcc-snapshot
--with-gcc-major-version-only
--program-prefix=
--enable-shared
--enable-linker-build-id
--disable-nls
--enable-clocale=gnu
--enable-libstdcxx-debug
--enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new
--enable-libstdcxx-backtrace
--enable-gnu-unique-object
--enable-plugin
--with-system-zlib
--enable-libphobos-checking=release
--with-target-system-zlib=auto
--with-libphobos-druntime-only=yes
--enable-objc-gc=auto
--enable-secureplt
--with-cpu=power9
--enable-targets=powerpcle-linux
--disable-multilib
--enable-multiarch
--disable-werror
--with-long-double-128
--with-long-double-format=ieee
--enable-offload-targets=nvptx-none=/<<PKGBUILDDIR>>/debian/tmp-nvptx/usr/lib/gcc-snapshot
--enable-offload-defaulted
--without-cuda-driver
--enable-checking=yes,extra,rtl
--build=powerpc64le-linux-gnu
--host=powerpc64le-linux-gnu
--target=powerpc64le-linux-gnu