From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19971 invoked by alias); 15 Jan 2013 12:30:35 -0000 Received: (qmail 19739 invoked by uid 48); 15 Jan 2013 12:30:06 -0000 From: "paulmck at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55981] std::atomic store is split in two smaller stores Date: Tue, 15 Jan 2013 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: paulmck at linux dot vnet.ibm.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg01333.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55981 Paul E. McKenney changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paulmck at linux dot | |vnet.ibm.com --- Comment #4 from Paul E. McKenney 2013-01-15 12:30:04 UTC --- (In reply to comment #2) > Btw, the same happens if atomic is replaced with "volatile unsigned long y" - > which does not violate the standard, but may be considered undesirable by some. > I don't have a strong opinion about this. This really does need to be fixed in the "volatile unsigned long y" case, or device drivers storing constants to device registers will break. So please fix this for volatiles as well as atomics.