[Bug c++/57618] OpenMP atomic read and write are not sequentially consistent
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jun 15 07:37:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57618
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
No idea where you got that #pragma omp atomic should be sequentially
consistent, it is relaxed. OpenMP 4.0 introduces seq_cst clause on all the
#pragma omp atomic {,update,read,write,capture} variants that makes it
sequentially consistent.
More information about the Gcc-bugs
mailing list