/var/tmp/portage/kde-apps/kio-extras-24.08.1/work/kio-extras-24.08.1/sftp/kio_sftp.cpp:2442:89: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3306 2442 | const auto length = qMin<int>(MAX_XFER_BUF_SIZE, response.filedata.size() - offset); | ^~~~~~ 0x55abf2c188a8 internal_error(char const*, ...) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/diagnostic-global-context.cc:517 0x55abf06bca61 fancy_abort(char const*, int, char const*) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/diagnostic.cc:1617 0x55abf01227bc gimplify_var_or_parm_decl /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:3306 0x55abf0ef69f0 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18590 0x55abf0ef68e6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18923 0x55abf0f02257 gimplify_modify_expr /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:6533 0x55abf0ef6abe gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18123 0x55abf0f0929a gimplify_target_expr /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:7574 0x55abf0ef7ed4 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18526 0x55abf0f02257 gimplify_modify_expr /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:6533 0x55abf0ef6abe gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18123 0x55abf0ef9daa gimplify_stmt(tree_node**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:7655 0x55abf0ef8275 gimplify_cleanup_point_expr /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:7393 0x55abf0ef8275 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18522 0x55abf0ef9daa gimplify_stmt(tree_node**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:7655 0x55abf0ef727c gimplify_statement_list /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:2247 0x55abf0ef727c gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18574 0x55abf0ef9daa gimplify_stmt(tree_node**, gimple**) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:7655 0x55abf0efa18b gimplify_bind_expr /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:1642 0x55abf0ef8453 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /usr/src/debug/sys-devel/gcc-15.0.0_pre20241006/gcc-15-20241006/gcc/gimplify.cc:18324
I have the attachment kio_sftp.cpp.ii.txt reducing (not yet done) Fails with: g++ -march=sapphirerapids -mrtm -mshstk -pipe -std=gnu++20 -fexceptions -c kio_sftp.cpp.ii Dose not fail if either -mrtm or -mshstk are removed
Created attachment 905095 [details] origin .ii file
It's likely the same underlying issue as bug 941148 (-> https://gcc.gnu.org/PR116914).
Created attachment 905144 [details] reduced kio_sftp.cpp.ii
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=b4a852b00ffc7c9436d15867d602c28837c97758 commit b4a852b00ffc7c9436d15867d602c28837c97758 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-13 22:47:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-13 22:47:21 +0000 15.0.0: add two coro patches Bug: https://gcc.gnu.org/PR116506 Bug: https://gcc.gnu.org/PR116914 Closes: https://bugs.gentoo.org/941147 Closes: https://bugs.gentoo.org/941148 Signed-off-by: Sam James <sam@gentoo.org> 15.0.0/gentoo/70_all_PR116506-coro.patch | 295 +++++++++++++++++++++++++++++++ 15.0.0/gentoo/71_all_PR116914-coro.patch | 51 ++++++ 15.0.0/gentoo/README.history | 5 + 3 files changed, 351 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c687ee2abc73dc2884f6753271e5124028f6097a commit c687ee2abc73dc2884f6753271e5124028f6097a Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-13 22:50:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-13 22:50:58 +0000 sys-devel/gcc: add 15.0.0_pre20241013-r1 This adds some unmerged upstream coroutine patches from Iain. Bug: https://gcc.gnu.org/PR116506 Bug: https://gcc.gnu.org/PR116914 Closes: https://bugs.gentoo.org/941147 Closes: https://bugs.gentoo.org/941148 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-15.0.0_pre20241013-r1.ebuild | 53 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+)