From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 464A33858C5F; Thu, 8 Feb 2024 17:54:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 464A33858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707414889; bh=BgMJbisuE1yphoCnNdCnedvHwnlBx9qAJiHNr/f08zo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=kaW2mbVMrGvcyCGZjYXnrczzhiNrjVR+661edKwKHOMM2quumJvhGZbH+iW4QqAMG 6l47Qj9poMbyWg1/Hnp8tjP+lP/yVhn2TFWFRNwZCZpteYMAxapJVjPgAeqg6ScuoB nFQNQxnFsBk3PhMgJvW6gHThRJfR5TeWKl3BZFpI= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113415] ICE: RTL check: -mstringop-strategy=byte_loop vs inline-asm goto with block copies Date: Thu, 08 Feb 2024 17:54:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-checking, ice-on-invalid-code, inline-asm 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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=3D113415 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek --- Created attachment 57364 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D57364&action=3Dedit gcc14-pr113415.patch If all we care here is not to ICE on it, then this patch should suffice. But, if there is some asm goto where such loops could be emitted and needed= on all the asm goto edges, then more work will be needed, duplicate_insn_chain doesn't duplicate CODE_LABELs and remap references to = them in the copied sequences.=