This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12496] wrong result for __atomic_add(&value, -1) when using -O0 -m64
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2003 05:44:34 -0000
- Subject: [Bug libstdc++/12496] wrong result for __atomic_add(&value, -1) when using -O0 -m64
- References: <20031003073054.12496.patrick.frants@quintiq.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-12-09 05:44 -------
Subject: Bug 12496
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: davem@gcc.gnu.org 2003-12-09 05:44:01
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/config/cpu/sparc: atomicity.h
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1464.2.158&r2=1.1464.2.159
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/cpu/sparc/atomicity.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.1&r2=1.1.20.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12496