This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Testing parallel mode and PR34106


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.


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