https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104722
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps _GLIBCXX_PARALLEL should parallelize std::accumulate only if binary_op is known to be associative?
jakub at gcc dot gnu.org via Gcc-bugs Tue, 01 Mar 2022 11:27:35 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104722
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps _GLIBCXX_PARALLEL should parallelize std::accumulate only if binary_op is known to be associative?