Fix recent regression in __atomic_add_dispatch
commita10b664eb7a5b8de4e84c6a87e5e462da8c69133
authorJonathan Wakely <jwakely@redhat.com>
Sat, 6 Jul 2019 21:16:38 +0000 (6 22:16 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 6 Jul 2019 21:16:38 +0000 (6 22:16 +0100)
tree78053a4ee4be888ee9fcbcf8ca79d9c6e71ea5de
parentef2df51671bb6c755302ffe8e36eae0755882ad2
Fix recent regression in __atomic_add_dispatch

* include/ext/atomicity.h (__exchange_and_add, __atomic_add): Replace
throw() with _GLIBCXX_NOTHROW.
(__atomic_add_dispatch): Return after performing atomic increment.

From-SVN: r273167
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/atomicity.h