[Bug libgomp/45025] Memory ordering issues with libgomp critical sections and __sync
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jul 22 07:59:00 GMT 2010
------- Comment #2 from jakub at gcc dot gnu dot org 2010-07-22 07:59 -------
So, 1. is fixed. If __sync_*compare_and_swap on PowerPC doesn't act as full
barrier, that would be a target bug, not libgomp bug.
Unless separate __sync_*_acq/__sync_*_rel builtins are added, I'm afraid the
only option for libgomp would be on the weakly ordered targets to use inline
asm instead, which wouldn't be very pretty.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45025
More information about the Gcc-bugs
mailing list