[Bug c/41441] failure to warn about uninitialized induction var

2009-11-19 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2009-11-19 12:13 --- If the loop does nothing, the whole loop is removed before warning about anything. If you find a testcase where the loop does something useful, and there is still no warning, please open a new bug report. Thanks. --

[Bug c/41441] failure to warn about uninitialized induction var

2009-09-23 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-09-23 08:52 --- We don't warn for uninitialized uses in PHIs early and the first CCP pass already removes all of the loop. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added