https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116914
Bug ID: 116914 Summary: [15 regression] ICE when building plasma-nm-6.1.5 (gimplify_var_or_parm_decl, at gimplify.cc:3309) Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: c++-coroutines Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: arsen at gcc dot gnu.org, iains at gcc dot gnu.org Target Milestone: --- ``` $ g++ -c XgJt.cpp.ii -std=gnu++20 -march=sapphirerapids -mabm -mno-sgx -mrtm -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=76800 /var/tmp/portage/kde-plasma/plasma-nm-6.1.5/work/plasma-nm-6.1.5/libs/handler.cpp: In function ‘void Handler::deactivateConnectionInternal(_ZN7Handler28deactivateConnectionInternalERK7QStringS2_.Frame*)’: /var/tmp/portage/kde-plasma/plasma-nm-6.1.5/work/plasma-nm-6.1.5/libs/handler.cpp:481:1: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3309 0x5dd6fc641f9c internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic-global-context.cc:517 0x5dd6fc642137 fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/diagnostic.cc:1540 0x5dd6fae252dd gimplify_var_or_parm_decl /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:3309 0x5dd6fc909c97 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18593 0x5dd6fc9cc2c8 gimplify_addr_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:6983 0x5dd6fc909cf0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18173 0x5dd6fc9cb533 gimplify_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:19207 0x5dd6fc9cb533 gimplify_arg(tree_node**, gimple**, unsigned int, bool) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:3795 0x5dd6fc9cb533 gimplify_call_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:4080 0x5dd6fc90a7b1 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18095 0x5dd6fc9efe25 gimplify_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:19207 0x5dd6fc9efe25 gimplify_arg(tree_node**, gimple**, unsigned int, bool) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:3795 0x5dd6fcb0da95 cp_gimplify_expr(tree_node**, gimple**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/cp/cp-gimplify.cc:858 0x5dd6fc909788 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18032 0x5dd6fc9248c9 gimplify_modify_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:6536 0x5dd6fc909cd9 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18126 0x5dd6fc909486 gimplify_stmt(tree_node**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:7658 0x5dd6fc90aa6a gimplify_cleanup_point_expr /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:7396 0x5dd6fc90aa6a gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:18525 0x5dd6fc90ac3f gimplify_stmt(tree_node**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/gimplify.cc:7658 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-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 891af478cc93ae3e2e176ed9739166799b814a05' --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 --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 20240929 (experimental) a2a78c0639dbebdab19d71f54edca99e7f9094fd (Gentoo Hardened 15.0.9999 p, commit 891af478cc93ae3e2e176ed9739166799b814a05) ```