[Bug c++/80542] Warn about accidental copying of data in range based for

2021-05-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80542 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/80542] Warn about accidental copying of data in range based for

2021-05-09 Thread antoshkka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80542 --- Comment #2 from Antony Polukhin --- This issue could be closed. GCC 11 has the required -Wrange-loop-construct warning: https://godbolt.org/z/343M6WMjb

[Bug c++/80542] Warn about accidental copying of data in range based for

2017-04-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80542 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic