]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/12496 (wrong result for __atomic_add(&value, -1) when using -O0 ...
authorDavid S. Miller <davem@redhat.com>
Tue, 9 Dec 2003 05:44:00 +0000 (21:44 -0800)
committerDavid S. Miller <davem@gcc.gnu.org>
Tue, 9 Dec 2003 05:44:00 +0000 (21:44 -0800)
commit13535bff2c9210a9b0bba8e6e676e3d89ab534d5
tree942f68057006818dd623d99e3e62ee8067014a7e
parentf9b0d48ec36b7192fcd545e0299c8e3324a608b2
re PR libstdc++/12496 (wrong result for __atomic_add(&value, -1) when using -O0 -m64)

2003-12-08  David S. Miller  <davem@redhat.com>

PR libstdc++/12496
* config/cpu/sparc/atomicity.h (__exchange_and_add, __atomic_add):
Extend increment to _Atomic_word before giving to assembler.

From-SVN: r74466
libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/sparc/atomicity.h