This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix libstdc++/11784 - atomic __exchange_and_add() brokenfor ColdFire targets
- From: Bernardo Innocenti <bernie at develer dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, phil at jaj dot com, libstdc++ at gcc dot gnu dot org
- Date: Wed, 06 Aug 2003 19:28:45 +0200
- Subject: Re: [PATCH] Fix libstdc++/11784 - atomic __exchange_and_add() brokenfor ColdFire targets
- Organization: Develer S.r.l.
- References: <BF17C960-C7C1-11D7-B015-000393A6D2F2@physics.uc.edu>
Andrew Pinski wrote:
On Tuesday, Aug 5, 2003, at 23:50 US/Eastern, Bernardo Innocenti wrote:
+ : "=m"(__Atomicity_lock<0>::_S_atomicity_lock)
+ : "m"(__Atomicity_lock<0>::_S_atomicity_lock)
This should be "+m"(__Atomicity_lock<0>::_S_atomicity_lock).
You're right, and it's for both bits of inline asm. I will prepare
a new patch.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html