libstdc++: Fix test_and_acquire for EABI
authorJonathan Wakely <jwakely@redhat.com>
Thu, 1 Oct 2020 11:54:37 +0000 (12:54 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 1 Oct 2020 11:54:37 +0000 (12:54 +0100)
commit026ca1121c2f4514494c10860ef3c49f18eccf9d
tree07e634869a8c6a5e2e48986b3f6183b19f8f7442
parentf9c86e3105d786cccc88ac5bdbfd2393dc75f8b5
libstdc++: Fix test_and_acquire for EABI

libstdc++-v3/ChangeLog:

* config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST_AND_ACQUIRE):
Do not try to dereference return value of __atomic_load_n.
libstdc++-v3/config/cpu/arm/cxxabi_tweaks.h