[PATCH][libstdc++-v3 parallel mode] PR 33488

Johannes Singler singler@ira.uka.de
Fri Sep 28 14:11:00 GMT 2007


This should fix PR 33488, and a similar problem for inner_product, also
adding corresponding test cases.

No regressions.

Please approve.


Also, we would like to get some comments/votes on
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33490


-- Johannes

*      include/parallel/base.h: Added plus and multiplies functor
       for differently typed objects
*      include/parallel/numeric: Used the above
*      include/parallel/for_each_selectors.h: Allowed different types
*      include/parallel/partial_sum.h: Fixed return value
*      testsuite/26_numerics/accumulate/1.cc: Tests for accumulate
*      testsuite/26_numerics/inner_product/1.cc: Tests for inner_product

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR33488.patch
Type: text/x-patch
Size: 9271 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20070928/57609e5d/attachment.bin>


More information about the Libstdc++ mailing list