From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2B0043858D3C; Fri, 19 Nov 2021 11:26:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2B0043858D3C From: "jakub at gcc dot 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: Fri, 19 Nov 2021 11:26:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 11.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2021 11:26:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103328 --- Comment #4 from Jakub Jelinek --- That is a bad bisection, just change it like: --- pr103328.C~ 2021-11-19 06:20:59.000000000 -0500 +++ pr103328.C 2021-11-19 06:21:57.000000000 -0500 @@ -530,7 +530,7 @@ void server_impl::send_message(server_id visit( [this, id](auto m) { _append_request_status[id].f.then( - [this, cm(m), cid =3D id] noexcept -> future<> { + [this, cm(m), cid =3D id] () noexcept -> future<> { auto m(cm); auto id =3D cid; try { and you'll see it started earlier. I then bisect it to r11-4386-g9e2256dcd481ffe3a8c79b65eba19fbb14b7ff8d but that just means we need to use a replacement for __is_nothrow_construct= ible to bisect it further. I'm pretty sure the bug is in coroutines handling...=