[Bug libstdc++/61075] parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-16 Thread denes.matetelki at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61075 --- Comment #8 from Denes Matetelki --- Just an observation: The contained type also need to declare and define ctor(int). Which can be tricky, if it is a template class and: template class Custom { public: Custom(T t) : m_t(t) {} Custom(

[Bug libstdc++/61075] parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-13 Thread denes.matetelki at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61075 Denes Matetelki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/61075] parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-13 Thread denes.matetelki at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61075 --- Comment #4 from Denes Matetelki --- Thank you for the reply, Jonathan. I understand your reasoning and not sure if my desires has much impact in the future of GCC. I'm suprised that the same source code cannot be compiled with parallel mode

[Bug libstdc++/61075] parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-06 Thread denes.matetelki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61075 --- Comment #2 from Denes Matetelki --- g++ -v Using built-in specs. COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2/g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.2/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /v

[Bug c++/61075] parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-06 Thread denes.matetelki at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61075 Denes Matetelki changed: What|Removed |Added Host||Linux 3.13.5-gentoo #10

[Bug c++/61075] New: parallel std::accumulate reduct type cannot be different than the iterated type

2014-05-06 Thread denes.matetelki at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: denes.matetelki at gmail dot com