Fix UPC atomic operations on types that have no builtin
commit8295f1a51d644531bc955cb05bbc846fba911c07
authorgfunck <gfunck@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2014 13:49:55 +0000 (8 13:49 +0000)
committergfunck <gfunck@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Apr 2014 13:49:55 +0000 (8 13:49 +0000)
treef25a832bcfb7f45e4df7e4c504a048c96b36cbae
parent163899dc570840dbc7c41b34c3bdd9997bfdce20
Fix UPC atomic operations on types that have no builtin
compiler support.  Build a version of the libatomic convenience
library that has no locking support, and then provide
locks in the UPC runtime library.  These lock functions
serialize atomic operations on types with no builtin atomics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gupc@209218 138bc75d-0d04-0410-961f-82ee72b054a4
libatomic/Makefile.am
libatomic/Makefile.in
libgupc/ChangeLog
libgupc/Makefile.am
libgupc/Makefile.in
libgupc/smp/upc_atomic.tpl
libgupc/smp/upc_atomic.upc
libgupc/smp/upc_libat_lock.c [new file with mode: 0644]
libgupc/smp/upc_libat_lock.h [new file with mode: 0644]