]> granicus.if.org Git - libatomic_ops/commit
Fix AO_stack_push_release to workaround bug in clang-1.1/x86
authorIvan Maidanski <ivmai@mail.ru>
Wed, 7 Mar 2012 03:41:23 +0000 (07:41 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 7 Mar 2012 15:36:59 +0000 (19:36 +0400)
commit07bc4d0ab7cdaa1ce73a32437bc6bc6e41c57dcb
treeb44f351d28a5b935c3facc3b45509f5ffd3256df
parent97b97ed51d7cd5aba51164f8691c4840e7506a15
Fix AO_stack_push_release to workaround bug in clang-1.1/x86

* src/atomic_ops_stack.c (AO_stack_push_release): Make "cptr" local
variable volatile to workaround a bug in clang-1.1/x86 compiler; add
comment.
src/atomic_ops_stack.c