From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A87AA385840E; Tue, 31 Oct 2023 16:50:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A87AA385840E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698771039; bh=pbhBg4btCnYxaLhCu6olYHS/nNEEcMBtwHt3VBoKw4k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xs4bMNmQRwHRBr4y1IhHqtRdUHYWrWS10ANpfSYMGbuUk1pBZ/UY9E4EgnhwHX4W7 YHrM4axi3FDMC4kleGRjEPE0SxmgwX4jXeEWvJ/RF/joWfMUZtdjB0BImiDdgnDwr5 pQN+8JX5YC/ZLipJ1OhqCpJCMZImVzGqqOtLRaQ0= From: "wilco at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111416] [Armv7/v8 Mixing Bug]: 64-bit Sequentially Consistent Load can be Reordered before Store of RMW when v7 and v8 Implementations are Mixed Date: Tue, 31 Oct 2023 16:50:39 +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: wilco at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: wilco at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D111416 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Wilco --- Fixed by commit r14-4365-g0731889c026bfe8d55c4851422ca5ec9d037f7a0=20 #include #include int64_t f (_Atomic int64_t *p) { return atomic_load (p); } now generates with -O2 -mcpu=3Dcortex-a15: dmb ish ldrd r0, r1, [r0] dmb ish bx lr=