From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 17FF33861884; Mon, 8 Jan 2024 22:16:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17FF33861884 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704752203; bh=3ILvPlxxlhY0b6pF8fxIGfL11irZrcU0LSPDPaYOx+Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LK+H0TyaiVunnkPNO/axS+z+xhJ+ZYscIB+Fc8PK/dkFxNyW6izS9aDcV+Jp6ctNs l9L06KcqaJdiyC0W4E/1gz8PWxoWedSiybd5M2OW3nujr4sZ4W9kgZN2TBp7Mj/GCv cQGlTevoFTuqbvELefvk/0p3znVjsIngi0/iEfMU= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113282] RISC-V non-atomic union store/load reordering Date: Mon, 08 Jan 2024 22:16:42 +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: alias X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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=3D113282 --- Comment #3 from Andrew Pinski --- Note -fno-strict-aliasing will allow the code to work the way you want it to work.=