------- 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