* config/cpu/i386/atomicity.h (__exchange_and_add): Fix output
constraint.
From-SVN: r75017
2003-12-24 Andrew Pinski <pinskia@physics.uc.edu>
+ * config/cpu/i386/atomicity.h (__exchange_and_add): Fix output
+ constraint.
+
PR libstdc++/13480
- * config/cpu/i486/atomicity.h: Split up read-write memory operand.
+ * config/cpu/i386/atomicity.h: Split up read-write memory operand.
2003-12-23 Benjamin Kosnik <bkoz@redhat.com>
/* obtain the atomic exchange/add spin lock */
do {
__asm__ __volatile__ ("xchg{l} {%0,%1|%1,%0}"
- : "m" (__Atomicity_lock<0>::_S_atomicity_lock),
+ : "=m" (__Atomicity_lock<0>::_S_atomicity_lock),
"+r" (__tmp)
: "m" (__Atomicity_lock<0>::_S_atomicity_lock));
} while (__tmp);