[Bug c++/98970] Use of uninitialized variable in loop is not reported

2021-02-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98970 --- Comment #2 from Jonathan Wakely --- Also, for -Wuninitialized: Note that there may be no warning about a variable that is used only to compute a value that itself is never used, because such computations may be deleted by data flow analysis

[Bug c++/98970] Use of uninitialized variable in loop is not reported

2021-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98970 Jonathan Wakely changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR