[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-15 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2a0f6c61b4db19535c632be68bddad74b6adb6cf commit r10-5985-g2a0f6c61b4db19535c632be68bddad74b6adb6cf Author: Jonathan Wakely Date:

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #7 from Jonathan Wakely --- The problem happens when the first template argument is an integer with no larger integer type available. I try to use __int128 but that's not usable with -std=c++2a. #include int main() {

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 Jonathan Wakely changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Jonathan

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread pilarlatiesa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #5 from Pilar Latiesa --- It compiles with -std=gnu++2a but not with -std=c++2a. Hope this helps.

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread pilarlatiesa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #4 from Pilar Latiesa --- (In reply to Jonathan Wakely from comment #1) > Please provide the output of 'gcc -v' as requested by > https://gcc.gnu.org/bugs/ Using built-in specs. COLLECT_GCC=g++ Target: x86_64-linux-gnu Configured

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread pilarlatiesa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #3 from Pilar Latiesa --- (In reply to Jonathan Wakely from comment #1) > Please provide the output of 'gcc -v' as requested by > https://gcc.gnu.org/bugs/ Using built-in specs. COLLECT_GCC=g++ Target: x86_64-linux-gnu Configured

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 --- Comment #2 from Jonathan Wakely --- Your testcase is invalid: iota.cc: In function 'int main()': iota.cc:22:6: error: conflicting declaration 'auto beginTest4' 22 | auto beginTest4 = std::ranges::begin(Test5); // OK |

[Bug libstdc++/93267] std::ranges::begin|end do not work for iota_view when the element and bound type are the same

2020-01-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93267 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|