libstdc++ debugging, was:Re: Heads up: Several thousand g++ and libstdc++ test failures on sparc[64]

Andreas Tobler toa@pop.agri.ch
Thu Oct 9 18:41:00 GMT 2003


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)





More information about the Libstdc++ mailing list