debug mode performance patch

Paolo Carlini paolo.carlini@oracle.com
Sun Nov 21 20:58:00 GMT 2010


... first blush looks pretty good to me. But I see now an unconditional
use of <mutex>, which isn't always available, see:

...

#if defined(_GLIBCXX_HAS_GTHREADS) && defined(_GLIBCXX_USE_C99_STDINT_TR1)

...

Thus if we commit this kind of change to debug.cc the bootstrap breaks
for some targets. Please figure out a solution not relying
unconditionally on <mutex>.

Paolo.



More information about the Libstdc++ mailing list