http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51766
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-10 18:46:59 UTC --- If the PPC implementation of __sync_fetch_and_* and __sync_*_and_fetch was intentionally implemented to violate the documentation, then the documentation should have been adjusted at that point to note that on PPC it behaves differently. Otherwise it should be just considered a bug in the implementation that it didn't implement the documented semantics.