Testing parallel mode and PR34106

Paolo Carlini pcarlini@suse.de
Wed Dec 12 01:15:00 GMT 2007


Paolo Carlini wrote:
>> FAIL: 25_algorithms/sort/vectorbool.cc (test for excess errors) 
>>     
> No idea, we should probably look into it as soon as possible.
>   
The reason is that the parallel version of sort assumes, in a call to
std:swap at least, that operator* of the iterator returns a reference.
And that is not the case for vector<bool>, of course :(

I'm also seeing another trivial fail:

FAIL: 26_numerics/partial_sum/requirements/explicit_instantiation/2.cc
(test for excess errors)

which seems only due to the missing inclusion of <new>, necessary for
placement new.

While we are at it, I would probably also suggest to qualify such
placement new calls with ::new, per DR 402.

Paolo.



More information about the Libstdc++ mailing list