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]

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


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