public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libstdc++/3584
@ 2002-10-03  9:06 rearnsha
  0 siblings, 0 replies; 2+ messages in thread
From: rearnsha @ 2002-10-03  9:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/3584; it has been noted by GNATS.

From: rearnsha@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libstdc++/3584
Date: 3 Oct 2002 15:58:29 -0000

 CVSROOT:	/cvs/gcc
 Module name:	gcc
 Changes by:	rearnsha@gcc.gnu.org	2002-10-03 08:58:29
 
 Modified files:
 	libstdc++-v3   : ChangeLog 
 	libstdc++-v3/config/cpu/arm: atomicity.h 
 
 Log message:
 	PR libstdc++/3584
 	* config/cpu/arm/atomicity.h (__exchange_and_add): Don't try to use
 	ASM sequences that don't give us atomic addition operations.  Instead
 	just add a comment explaining why it doesn't work.
 	(__atomic_add): Just use __exchange_and_add.
 	(__test_and_set, __always_swap): Delete.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1374&r2=1.1375
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/cpu/arm/atomicity.h.diff?cvsroot=gcc&r1=1.3&r2=1.4
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/3584
@ 2001-07-07  6:16 Robin Farine
  0 siblings, 0 replies; 2+ messages in thread
From: Robin Farine @ 2001-07-07  6:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/3584; it has been noted by GNATS.

From: Robin Farine <acnrf@dial.eunet.ch>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, robin.farine@terminus.org,
        acnrf@dial.eunet.ch, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org
Cc:  
Subject: Re: libstdc++/3584
Date: 07 Jul 2001 15:13:04 +0200

 This message improves the syntax and semantics of the description I have
 provided when I registered the bug report.
 
 Description: Routines such as atomic_add() that read a memory location, apply
              operations to the value read, use the swp instruction to update the
              memory location and swp again if the value read the 2nd time
              doesn't equal the value initially read, introduce a race
              condition. The attachment illustrates such a case.
 
 Robin
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3584&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-03 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-03  9:06 libstdc++/3584 rearnsha
  -- strict thread matches above, loose matches on Subject: below --
2001-07-07  6:16 libstdc++/3584 Robin Farine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).