https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118822
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- Created attachment 60452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60452&action=edit trx0purge.cc.ii.xz ``` /var/tmp/portage/dev-db/mariadb-10.6.21/work/mysql/storage/innobase/trx/trx0purge.cc:777:3: internal compiler error: in pop, at vec.h:1056 777 | } | ^ 0x5eb59ca55cd1 internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517 0x5eb59ca55e6c fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1722 0x5eb59b03c5db vec<tree_node*, va_gc, vl_embed>::pop() /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/vec.h:1056 0x5eb59b03c5db pop_stmt_list(tree_node*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/c-family/c-semantics.cc:60 0x5eb59cd4d955 poplevel(int, int, int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/decl.cc:834 0x5eb59cd49d61 do_poplevel(tree_node*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/semantics.cc:659 0x5eb59d50e1bc finish_while_stmt(tree_node*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/semantics.cc:1446 0x5eb59d4e26ec cp_parser_iteration_statement /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:15107 0x5eb59cce5c69 cp_parser_statement /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:13105 0x5eb59cce2cbd cp_parser_statement_seq_opt /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:13843 0x5eb59cce2cbd cp_parser_compound_statement /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:13690 0x5eb59ccdec09 cp_parser_function_body /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:26679 0x5eb59ccdec09 cp_parser_ctor_initializer_opt_and_function_body /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:26730 0x5eb59ccdec09 cp_parser_function_definition_after_declarator /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:33618 0x5eb59cc4a1a7 cp_parser_function_definition_from_specifiers_and_declarator /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:33535 0x5eb59cc4a1a7 cp_parser_init_declarator /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:23998 0x5eb59cc35e6b cp_parser_simple_declaration /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:16516 0x5eb59cc33446 cp_parser_declaration /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:16189 0x5eb59d48c879 cp_parser_toplevel_declaration /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:16210 0x5eb59d48c879 cp_parser_translation_unit /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/parser.cc:5469 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report ``` ``` 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 509a72e881767d24aee2865435c1e7851d46abd3' --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.1 20250208 (experimental) 278bf5726c69db1371185676f89f1fd6e0f756f5 (Gentoo Hardened 15.0.9999 p, commit 509a72e881767d24aee2865435c1e7851d46abd3) ```