From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B8D363858428; Tue, 9 Aug 2022 06:55:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B8D363858428 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjLzEwMDUyNV0gSUNFOiB0cmVlIGNoZWNrOiBleHBlY3Rl?= =?UTF-8?B?ZCBjbGFzcyDigJh0eXBl4oCZLCBoYXZlIOKAmGV4Y2VwdGlvbmFs4oCZIChl?= =?UTF-8?B?cnJvcl9tYXJrKSBpbiB1c2VsZXNzX3R5cGVfY29udmVyc2lvbl9wLCBhdCBn?= =?UTF-8?B?aW1wbGUtZXhwci5jOjg3?= Date: Tue, 09 Aug 2022 06:55:57 +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: 12.0 X-Bugzilla-Keywords: error-recovery, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth 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: --- 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: Tue, 09 Aug 2022 06:55:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D100525 --- Comment #4 from Richard Biener --- Btw, the issue for the original testcase is that we run into static void c_parser_gimple_statement (gimple_parser &parser, gimple_seq *seq) { ... /* GIMPLE call statement without LHS. */ if (c_parser_next_token_is (parser, CPP_SEMICOLON) && TREE_CODE (lhs.value) =3D=3D CALL_EXPR) { gimple *call; call =3D gimple_build_call_from_tree (lhs.value, NULL); gimple_seq_add_stmt_without_update (seq, call); gimple_set_location (call, loc); return; and the C FE hands us back a non-error CALL_EXPR with an error_mark_node argument. Usually those get "cleaned out" during gimplification but here it prevails.=