]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/3584 (arm-specific atomic operations not atomic)
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 3 Oct 2002 15:58:29 +0000 (15:58 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 3 Oct 2002 15:58:29 +0000 (15:58 +0000)
commitbfc1eae300993c406f0a0cb67c10b22c06a7c993
treecd6d4747719755fcab36953d08c54f45a67c4706
parente37383993dd7fdd71cbb33b84898bdde368c35af
re PR libstdc++/3584 (arm-specific atomic operations not atomic)

PR libstdc++/3584
* config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
ASM sequences that don't give us atomic addition operations.  Instead
just add a comment explaining why it doesn't work.
(__atomic_add): Just use __exchange_and_add.
(__test_and_set, __always_swap): Delete.

From-SVN: r57778
libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/arm/atomicity.h