From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 433383858423; Tue, 21 Nov 2023 18:01:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 433383858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700589668; bh=Sf/SOtZNR4PIlC7CT6TwEHLxbrtgZCK6b+az0meKj9U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=atcTOvIPN4azD00UoVld+jMF2aYthCBqC0CFX0krkL27FVsmHx3VhZ51TqMuhuB1/ 2qA5U48NE5ZzvpjXDQKk3CDJmH7wCt/MU7JmLFl5vxTZBWbxCMenJS7XhgQ2lbOUfR a4ZDE2MvhMSB3zIHHChm9FuPt8qhtxoa4H49kg7Q= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112619] [14 regression] ICE when building libcrafter (tree check: expected statement_list, have modify_expr in tsi_start, at tree-iterator.h:57) since r14-5086-gae07265381d934 Date: Tue, 21 Nov 2023 18:01:06 +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: 14.0 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: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112619 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org, | |jason at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- The created TRY_CATCH_EXPR certainly violates the try_catch_may_fallthrough expectations, that the second operand of TRY_CATCH_EXPR is a STATEMENT_LIST, which either a series of CATCH_EXPRs, or containing EH_FILTER_EXPR, or statements ending with RESX. In this case the second operand is just MODIFY_EXPR. So, shall we change try_catch_may_fallthrough to accept that as well and ju= st return false if second argument is not a STATEMENT_LIST, or handle such cas= e as if a single statement STATEMENT_LIST, something else?=