Bug 2336214
| Summary: | GCC 15 mass prebuild: neochat: "internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3315" | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 42 | CC: | dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2333037 | ||
|
Description
Dave Malcolm
2025-01-07 19:33:48 UTC
Reproduced with trunk: $ ./cc1plus -quiet neochatroom.ii -std=gnu++23 /builddir/build/BUILD/neochat-24.12.0-build/neochat-24.12.0/src/neochatroom.cpp: In function ‘void NeoChatRoom::doDeleteMessagesByUser(_ZN11NeoChatRoom22doDeleteMessagesByUserERK7QStringS0_.Frame*)’: /builddir/build/BUILD/neochat-24.12.0-build/neochat-24.12.0/src/neochatroom.cpp:905:1: internal compiler error: in gimplify_var_or_parm_decl, at gimplify.cc:3341 0x3078605 internal_error(char const*, ...) /home/mpolacek/src/gcc/gcc/diagnostic-global-context.cc:517 0x3048221 fancy_abort(char const*, int, char const*) /home/mpolacek/src/gcc/gcc/diagnostic.cc:1722 0xd1cb19 gimplify_var_or_parm_decl /home/mpolacek/src/gcc/gcc/gimplify.cc:3341 0xd1ceb3 gimplify_compound_lval /home/mpolacek/src/gcc/gcc/gimplify.cc:3464 0xd60867 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/mpolacek/src/gcc/gcc/gimplify.cc:18814 0xd2b48d gimplify_addr_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:7363 0xd60dac gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/mpolacek/src/gcc/gcc/gimplify.cc:18912 0xd64acc gimplify_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:19956 0xd1de6a gimplify_arg(tree_node**, gimple**, unsigned long, bool) /home/mpolacek/src/gcc/gcc/gimplify.cc:3827 0x4e1bf3 cp_gimplify_arg /home/mpolacek/src/gcc/gcc/cp/cp-gimplify.cc:587 0x4e3263 cp_gimplify_expr(tree_node**, gimple**, gimple**) /home/mpolacek/src/gcc/gcc/cp/cp-gimplify.cc:859 0xd60658 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/mpolacek/src/gcc/gcc/gimplify.cc:18771 0xd64acc gimplify_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:19956 0xd1de6a gimplify_arg(tree_node**, gimple**, unsigned long, bool) /home/mpolacek/src/gcc/gcc/gimplify.cc:3827 0xd20ff5 gimplify_call_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:4409 0xd60911 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/mpolacek/src/gcc/gcc/gimplify.cc:18834 0xd29756 gimplify_modify_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:6916 0xd60a19 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*), int) /home/mpolacek/src/gcc/gcc/gimplify.cc:18865 0xd2dfad gimplify_stmt(tree_node**, gimple**) /home/mpolacek/src/gcc/gcc/gimplify.cc:8039 0xd2d48b gimplify_cleanup_point_expr /home/mpolacek/src/gcc/gcc/gimplify.cc:7777 Started with r15-3840:
commit 650e91566561870f3d1c8d5b92e6613296ee1a8d
Author: Jakub Jelinek <jakub>
Date: Tue Sep 24 20:19:50 2024 +0200
c++: Implement C++23 P2718R0 - Wording for P2644R1 Fix for Range-based for Loop [PR107637]
I'll try to reduce, but it'll take a long time -- the testcase is 7.1M.
Is that coroutines related? There is still PR117231 still unclosed, and I think various gimplify_var_or_parm_decl coroutine ICE PRs too, e.g. PR116914. https://gcc.gnu.org/pipermail/gcc-patches/2024-November/670404.html Jason replied but I haven't seen further changes from Iain. Yeah, I see co_await, co_return etc. And Iain's patch fixes the crash. So I'm not going to reduce this anymore, since we already have a minimized test case. This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42. |