This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/12496] wrong result for __atomic_add(&value, -1) when using -O0 -m64


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]