public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "piotr.grabowski at scylladb dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728 Date: Sat, 26 Feb 2022 17:17:44 +0000 [thread overview] Message-ID: <bug-103328-4-53lj0RHAHQ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103328-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 Piotr Grabowski <piotr.grabowski at scylladb dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.grabowski at scylladb dot co | |m --- Comment #18 from Piotr Grabowski <piotr.grabowski at scylladb dot com> --- Created attachment 52520 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52520&action=edit smaller reproducer (-g flag required) Uploading a smaller 30-line reproducer, reduced independently from Avi, but started from the same origin file. The error messages are the same as previous reproducers. It fails to compile with all optimization levels I checked. Compiled with (-g required): g++ -g -std=c++20 attached.cpp For g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) and "-g -std=c++20 -fchecking" it fails with: ... pr103328_smaller.cpp:30:13: error: location references block not in block tree ... (repeated multiple times) pr103328_smaller.cpp:30: confused by earlier errors, bailing out Preprocessed source stored into /tmp/ccdJXVFM.out file, please attach this to your bugreport. For "g++ (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9)" and "-g -std=c++20 -fno-checking" it fails with: during RTL pass: final pr103328_smaller.cpp: In function ‘void foo::f()::<lambda()>::operator()(foo::f()::<lambda()>::_ZZN3foo1fEvENKUlvE_clEv.Frame*)’: pr103328_smaller.cpp:24:17: internal compiler error: Segmentation fault 24 | auto lambda = [this]() noexcept -> task { | ^ Please submit a full bug report, For "g++ (Compiler-Explorer-Build-gcc-cb3afcd2a380f2fb6c490f2c1318f76402eab43a-binutils-2.36.1) 12.0.1 20220217 (experimental)" and "-g -std=c++20 -fno-checking" it fails with: during RTL pass: final <source>: In function 'void foo::f()::<lambda()>::operator()(foo::f()::<lambda()>::_ZZN3foo1fEvENKUlvE_clEv.Frame*)': <source>:24:17: internal compiler error: tree check: expected block, have function_decl in change_scope, at final.cc:1467 24 | auto lambda = [this]() noexcept -> task { | ^ 0x217c1f9 internal_error(char const*, ...) ???:0 0x6f3eaf tree_check_failed(tree_node const*, char const*, int, char const*, ...) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). For "g++ (Compiler-Explorer-Build-gcc-cb3afcd2a380f2fb6c490f2c1318f76402eab43a-binutils-2.36.1) 12.0.1 20220217 (experimental)" and "-g -std=c++20 -fchecking" it fails with: ... <source>:30:13: error: location references block not in block tree ... (repeated multiple times) during IPA pass: *free_lang_data <source>:30:13: internal compiler error: verify_gimple failed 0x217c1f9 internal_error(char const*, ...) ???:0 0x1188a85 verify_gimple_in_cfg(function*, bool) ???:0
next prev parent reply other threads:[~2022-02-26 17:17 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-19 9:56 [Bug c++/103328] New: IC in remap_gimple_stmt, at tree-inline.c:1921 avi@cloudius-systems.com 2021-11-19 10:41 ` [Bug c++/103328] ICE " rguenth at gcc dot gnu.org 2021-11-19 10:41 ` rguenth at gcc dot gnu.org 2021-11-19 11:07 ` [Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728 marxin at gcc dot gnu.org 2021-11-19 11:26 ` jakub at gcc dot gnu.org 2021-11-19 11:57 ` avi@cloudius-systems.com 2021-11-19 12:03 ` avi@cloudius-systems.com 2021-11-19 12:07 ` jakub at gcc dot gnu.org 2021-11-19 12:10 ` avi@cloudius-systems.com 2021-11-19 12:11 ` avi@cloudius-systems.com 2021-11-19 12:20 ` avi@cloudius-systems.com 2021-11-19 12:28 ` rguenth at gcc dot gnu.org 2021-11-19 12:46 ` rguenth at gcc dot gnu.org 2021-11-19 12:48 ` rguenth at gcc dot gnu.org 2021-11-19 13:42 ` rguenth at gcc dot gnu.org 2021-11-19 13:59 ` iains at gcc dot gnu.org 2021-11-19 14:05 ` rguenth at gcc dot gnu.org 2021-11-20 11:15 ` avi@cloudius-systems.com 2022-01-17 12:55 ` rguenth at gcc dot gnu.org 2022-02-26 17:17 ` piotr.grabowski at scylladb dot com [this message] 2022-03-11 2:14 ` gcc at bmevers dot de 2022-03-11 16:40 ` gcc at bmevers dot de 2022-03-15 15:29 ` avi at scylladb dot com 2022-03-22 14:48 ` [Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt with coroutines " avi at scylladb dot com 2022-04-03 10:28 ` cvs-commit at gcc dot gnu.org 2022-04-04 15:05 ` avi at scylladb dot com 2022-04-07 12:04 ` [Bug c++/103328] [11 " cvs-commit at gcc dot gnu.org 2022-04-07 12:06 ` rguenth at gcc dot gnu.org 2022-04-07 14:42 ` avi at scylladb dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103328-4-53lj0RHAHQ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).