This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 and 3.0.3 bug of string implemenation and the fix
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: MLu at dynamicsoft dot com
- Cc: gcc-bugs at gcc dot gnu dot org, markus dot breuer at materna dot de
- Date: Tue, 15 Jan 2002 19:42:53 -0600 (CST)
- Subject: Re: GCC 3.0 and 3.0.3 bug of string implemenation and the fix
Hello Mike Lu,
Please see libstdc++/5037 and libstdc++/5347 in our GNATS system
(patch for your issue, that will appear in gcc 3.1 and 3.0.4+ is there
as well).
There was a long-standing bug in the sparc implementation of
__exchange_and_add and __atomic_add (or a mismatch in how the C++
library code used the abstraction layer) which affected all releases
of gcc 3.0 until this date (i.e 3.0.1, 3.0.2 and 3.0.3 as well as 3.0)
on MP sparc-*-*.
I have tested your test case against my build of gcc 3.0.3 with the
included patch on an MP sparc machine and it works fine for me there.
Regards,
Loren