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

            Bug ID: 120697
           Summary: [16 regression] Bootstrap fails in
                    ix86_expand_prologue
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

```
$ /var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/../lib
-B/usr/x86_64-pc-linux-gnu/lib/ .libs/adler32.i -O1
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32_z’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:63:7:
warning: old-style function definition [-Wold-style-definition]
   63 | uLong ZEXPORT adler32_z(adler, buf, len)
      |       ^~~~~~~~~
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:134:7:
warning: old-style function definition [-Wold-style-definition]
  134 | uLong ZEXPORT adler32(adler, buf, len)
      |       ^~~~~~~
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32_combine_’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:143:14:
warning: old-style function definition [-Wold-style-definition]
  143 | local uLong adler32_combine_(adler1, adler2, len2)
      |              ^~~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32_combine’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:172:7:
warning: old-style function definition [-Wold-style-definition]
  172 | uLong ZEXPORT adler32_combine(adler1, adler2, len2)
      |       ^~~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32_combine64’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:180:7:
warning: old-style function definition [-Wold-style-definition]
  180 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
      |       ^~~~~~~~~~~~~~~~~
during RTL pass: pro_and_epilogue
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c: In
function ‘adler32_z’:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/zlib/adler32.c:131:1:
internal compiler error: in ix86_expand_prologue, at config/i386/i386.cc:9380
  131 | }
      | ^
0x7f2ea78035c6 __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7f2ea7803675 __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.
```

---

```
Reading specs from
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./gcc/specs
COLLECT_GCC=/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./gcc/xgcc
COLLECT_LTO_WRAPPER=/var/tmp/portage/sys-devel/gcc-16.0.9999/work/build/./gcc/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-16.0.9999/work/gcc-16.0.9999/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/16
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/16/include
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16/man
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/16/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/16/include/g++-v16
--disable-silent-rules --disable-dependency-tracking
--with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/16/python
--enable-libphobos --enable-objc-gc
--enable-languages=c,c++,d,objc,obj-c++,fortran,ada,cobol,m2,rust
--enable-obsolete --enable-secureplt --disable-werror --with-system-zlib
--enable-nls --without-included-gettext --disable-libunwind-exceptions
--enable-checking=yes,extra,rtl --with-bugurl=https://bugs.gentoo.org/
--with-pkgversion='Gentoo Hardened 16.0.9999 p, commit
98a884c00e745bc079561290d535fab134afc7fb' --with-gcc-major-version-only
--enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point
--enable-targets=all --enable-offload-defaulted
--enable-offload-targets=nvptx-none --enable-libgomp --disable-libssp
--enable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations
--disable-vtable-verify --disable-libvtv --with-zstd --with-isl
--disable-isl-version-check --enable-default-pie --enable-host-pie
--enable-host-bind-now --enable-default-ssp --disable-fixincludes
--with-gxx-libcxx-include-dir=/usr/include/c++/v1 --enable-linker-build-id
--with-build-config='bootstrap-O3 bootstrap-lto'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20250618 (experimental)
a0ffc9b1bfd45da5ce676a0cef419381c021f54b (Gentoo Hardened 16.0.9999 p, commit
98a884c00e745bc079561290d535fab134afc7fb)
```

Reply via email to