[Patch] Fix testsuite_shared.cc vs --enable-threads=single

Paolo Carlini pcarlini@suse.de
Mon May 22 10:33:00 GMT 2006


Hi,

while doing some experiments, I noticed that testsuite_shared.cc doesn't 
build at all together with --enable-threads=single, thus, the testsuite 
cannot be run, even if in that case the facilities in 
testsuite_shared.cc are not used. I fixed the issue with the below, 
which means automatically using __common_pool_policy<__gnu_cxx::__pool, 
false> in that case.

Unless Benjamin doesn't have in mind something more sophisticated (maybe 
together with the testsuite utils project), I'm going to install it, for 
now.

Tested x86-linux.

Paolo.

/////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_all
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060522/0a38d19c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_all
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060522/0a38d19c/attachment-0001.ksh>


More information about the Libstdc++ mailing list