This is the mail archive of the gcc-patches@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: [PATCH, libstdc++] Protect thread tests with #ifdef __GTHREADS


Paolo Carlini wrote:

>....................................*why* on AIX we are running
>those tests in the first place.
>  
>
Hum, maybe I know what's going wrong (sorry, cannot make further
progress today): thread testcases are run conditional to
HAVE_GTHR_DEFAULT, which is defined on AIX, simply because the gthr-*
file != single.

On the other hand, GLIBCXX_TEST_THREAD is defined only when a grep of
__GTHREADS inside the gthr-* is succesful: should be used somehow, probably.

Paolo.


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