From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C3113858401; Thu, 18 May 2023 16:09:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C3113858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684426178; bh=MHFPO6XI/fMJ1XeskfWW49Tk37LYnRCHqHx/DfndBZ0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AMc2sHCpVl7yARIZY6Rj9SiDTwhPMr6UmPLR0baa63RSQWiu9UyJEICPYuNN9rg+/ 1ubIQ96axeD0Nu22K9XZHz9HSKxdr+tzg+ua+PS8gvyl2mDvvtksaUrtKzkGL7m2Sa u2o7naU8r6THgil+DOkIuq5O7XU6ff5jF29uwpoA= From: "dimitri.gorokhovik at free dot fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109903] Register misallocation in hand-crafted asm insn, no diagnostics produced Date: Thu, 18 May 2023 16:09:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dimitri.gorokhovik at free dot fr X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D109903 --- Comment #6 from Dimitri Gorokhovik = --- Thank you Andrew, I indeed see now the early-clobber effect of this code. It isn't that we don't read documentation (we do time to time), rather our = real asm statement has more output ops and more elementary instructions in the template, so the early-clobber effect doesn't jump to the eye quite as easi= ly. I guess we have to mask all output ops as early clobbers.=