[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-09-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|14.3

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-09-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #12 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c5fd1a483858c0e85b40149aef88be00f94980a7 commit r15-3650-gc5fd1a483858c0e85b40149aef88be00f94980a7 Author: Jonathan Wakely Date

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-08-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jakub Jelinek changed: What|Removed |Added Target Milestone|14.2|14.3 --- Comment #11 from Jakub Jelinek

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-05-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Richard Biener changed: What|Removed |Added Target Milestone|14.0|14.2 --- Comment #10 from Richard Bien

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #9 from Jonathan Wakely --- Patch posted for review: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642732.html

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Target Milestone|---

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > = std::__or_

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #7 from Jonathan Wakely --- Actually, if we don't care about upstream any more, we can improve the pre-C++20 version too: template using __are_random_access_iterators = std::__or_>...>;

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2024-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #6 from Jonathan Wakely --- The proposed change will compile very slowly, something like this would be better: --- a/libstdc++-v3/include/pstl/execution_impl.h +++ b/libstdc++-v3/include/pstl/execution_impl.h @@ -19,13 +19,24 @@ nam

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-18 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #5 from gnzlbg --- The patch for this bug in libc++ has been reviewed: https://reviews.llvm.org/D154305 I've submitted a patch for the same issue to libstdc++: https://gcc.gnu.org/pipermail/libstdc++/2023-July/056266.html

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-02 Thread gonzalo.gadeschi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #3 from gnzlbg --- @Jonathan What is missing in https://wg21.link/p2408 to enable the PSTL to use the iterator concept for the iota_view::iterator such that the PSTL may run the above in parallel?

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/110512] C++20 random access iterators run sequentially with PSTL

2023-07-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110512 --- Comment #1 from Jonathan Wakely --- I think this is the correct behaviour according to the standard. We have other bug reports about C++20 iterators used with STL algos and containers, which again, are working as required by the standard.