http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55561
--- Comment #38 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-31 16:57:15 UTC --- Author: jakub Date: Thu Jan 31 16:57:09 2013 New Revision: 195618 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195618 Log: PR libgomp/55561 * config/linux/wait.h (do_spin): Use atomic load for addr. * config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic for intptr and ptrlock. * config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load for ptrlock. Modified: trunk/libgomp/ChangeLog trunk/libgomp/config/linux/ptrlock.c trunk/libgomp/config/linux/ptrlock.h trunk/libgomp/config/linux/wait.h