From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1ECED3858C2D; Thu, 18 Jan 2024 23:05:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1ECED3858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705619136; bh=2W/c9YknuK/RqQ9nVXNZWNgFQhInBN/RMgz4QT0oPfg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=V3IUlqRhZdiPWSX0BjEL1rLz82YGPyle4PfIf7dlhUoqsWkN8nTeSkXhqPqxiQbJn nzKvDQ/C8j/YUsUzRnPlk6nakQEGKcoclP6+1St1M9VQ90RyfLGgsRrXDqDIU87njC vpsibekqzeJezBT9DJLNHrGAinkRL+dDCH9TZ+NM= From: "pinskia 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, 18 Jan 2024 23:05:35 +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: pinskia 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113415 --- Comment #4 from Andrew Pinski --- Note without RTL checking we get: ``` :7:3: error: impossible constraint in 'asm' 7 | __asm__ goto("" : "=3Dr"(bitint0) : : : lab); | ^~~~~~~ :8:1: error: wrong number of branch edges after unconditional jump = in bb 5 8 | } | ^ :8:1: error: wrong number of branch edges after unconditional jump = in bb 3 during RTL pass: cse1 dump file: /app/output.cpp.272r.cse1 :8:1: internal compiler error: verify_flow_info failed 0x2332cfc internal_error(char const*, ...) ???:0 0xb27bd3 verify_flow_info() ???:0 0x2003c7c cleanup_cfg(int) ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. ``` With release checking we get an ICE after the first error; the `confused by earlier errors, bailing out`.=