The new test fails before this patch.
See
Details
Details
- Reviewers
philnik ldionne jwakely - Group Reviewers
Restricted Project - Commits
- rGfbcd5236af20: [libc++] [ranges] Fix `decltype(auto) ranges::iter_move`.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Fixed by changing libstdc++, which is irrelevant to libc++ because you're not using the libstdc++ code.
Comment Actions
GCC 11 was still happy with the previous test. Try one basically-not-reduced-at-all from the ranges::min review.
Comment Actions
I finally hit a reproducing case locally, while writing tests for C++20 move_iterator!
Comment Actions
https://reviews.llvm.org/harbormaster/unit/view/2832828/ — filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104792 for what I consider a bogus GCC warning, but will fix anyway.