This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: libstdc++ debugging, was:Re: Heads up: Several thousand g++ andlibstdc++ test failures on sparc[64]
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Pétur Runólfsson <peturr02 at ru dot is>, libstdc++ at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 09 Oct 2003 20:41:04 +0200
- Subject: Re: libstdc++ debugging, was:Re: Heads up: Several thousand g++ andlibstdc++ test failures on sparc[64]
- References: <07D05A69A3D0C14FAEA60C3ACE8E5564028F55E8@mail.ru.is>
Pétur Runólfsson wrote:
1) Fix gthr on Solaris.
Hm, here I don't know enough to try. May someone more familar can help?
2) Change use of __gthread_active_p() and __gthread_once() from:
With the snippet below I can build an test on solaris9 with only 4
failures. Two in each run. (32/64bit)
What is the prefered way to go?
Thanks Pétur again for helping me here!!
Andreas
RCS file: /cvs/gcc/gcc/libstdc++-v3/src/locale.cc,v
retrieving revision 1.95
diff -u -r1.95 locale.cc
--- src/locale.cc 2 Oct 2003 23:06:13 -0000 1.95
+++ src/locale.cc 9 Oct 2003 18:37:34 -0000
@@ -387,7 +387,6 @@
#ifdef __GTHREADS
if (__gthread_active_p())
__gthread_once(&_S_once, _S_initialize_once);
- else
#endif
{
if (!_S_classic)