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

Andreas Tobler
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!!


RCS file: /cvs/gcc/gcc/libstdc++-v3/src/,v
retrieving revision 1.95
diff -u -r1.95
--- src/       2 Oct 2003 23:06:13 -0000       1.95
+++ src/       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
         if (!_S_classic)

More information about the Libstdc++ mailing list