https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115191
Bug ID: 115191 Summary: [15 regression] ICE when building stklos (in verify_range, at value-range.cc:1526) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: aldyh at gcc dot gnu.org Target Milestone: --- ``` $ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DPCRE2POSIX_SHARED -I/usr/lib64/libffi/include -O2 -c -o socket.o socket.c during GIMPLE pass: phiopt In file included from socket.c:34: socket.c: In function ‘STk_socket_accept’: stklos.h:282:18: internal compiler error: in verify_range, at value-range.cc:1526 282 | SCM CPP_CONCAT(STk_, _cname) _params | ^~~~ stklos.h:92:33: note: in definition of macro ‘CPP_CONCAT’ 92 | #define CPP_CONCAT(x, y) x##y | ^ socket.c:434:1: note: in expansion of macro ‘DEFINE_PRIMITIVE’ 434 | DEFINE_PRIMITIVE("socket-accept", socket_accept, subr12, | ^~~~~~~~~~~~~~~~ 0x55d4f104ac8b irange::verify_range() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/value-range.cc:1526 0x55d4f23b0da2 global_range_query::range_of_expr(vrange&, tree_node*, gimple*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/value-query.cc:436 0x55d4f21f9e12 value_replacement /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-ssa-phiopt.cc:1330 0x55d4f21fb64a execute /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-ssa-phiopt.cc:4265 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. ``` ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/15/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-15.0.9999/work/gcc-15.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/15 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/15/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/15/python --enable-languages=c,c++,fortran,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 15.0.9999 p, commit bc7d81fe2f725b4043ce8b9ffb11d80032ce3f75' --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-libgomp --disable-libssp --disable-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-build-config=bootstrap-O3 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240522 (experimental) 73a167cfa225d5ee7092d41596b9fea1719898ff (Gentoo Hardened 15.0.9999 p, commit bc7d81fe2f725b4043ce8b9ffb11d80032ce3f75) ```