https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118149
Bug ID: 118149 Summary: [15 regression] ICE when building lsp-plugins-1.2.14 (mmap: Cannot allocate memory in forwprop) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org Target Milestone: --- Originally reported downstream in gentoo at https://bugs.gentoo.org/946696. ``` $ g++ -c generic.ii -O2 -march=znver2 during GIMPLE pass: forwprop In file included from main/generic/generic.cpp:70: /var/tmp/portage/media-libs/lsp-plugins-1.2.14/work/lsp-plugins/modules/lsp-dsp-lib/include/private/dsp/arch/generic/fastconv.h: In function ‘void lsp::generic::fastconv_parse(float*, const float*, size_t)’: /var/tmp/portage/media-libs/lsp-plugins-1.2.14/work/lsp-plugins/modules/lsp-dsp-lib/include/private/dsp/arch/generic/fastconv.h:33:14: internal compiler error: in operator[], at vec.h:910 33 | void fastconv_parse(float *dst, const float *src, size_t rank) | ^~~~~~~~~~~~~~ mmap: Cannot allocate memory 0x7e3e27b59746 __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7e3e27b597f6 __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. ``` --- ``` Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/15/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-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-objc-gc --enable-languages=c,c++,d,go,objc,obj-c++,fortran,ada,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 15.0.9999 p, commit bf22395e91b68cb0cb464f72e08949ddd7ded9bf' --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-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20241219 (experimental) 23df3c3a4aa33a08e82ac8b98d7ff6e7f1b65b63 (Gentoo Hardened 15.0.9999 p, commit bf22395e91b68cb0cb464f72e08949ddd7ded9bf) ```