[Bug target/42869] GOMP_critical_start wrong on Itanium due to __sync miscompilation
sje at cup dot hp dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 12 18:23:00 GMT 2010
------- Comment #6 from sje at cup dot hp dot com 2010-03-12 18:22 -------
Fixed by moving the mf after the cmpxch.rel. The cmpxchg.rel will keep memory
operations from moving down and the mf will keep them from moving up. Changing
cmpxchg.rel to cmpxchg.acq would have achieved the same result.
--
sje at cup dot hp dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42869
More information about the Gcc-bugs
mailing list