https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45425
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Last reconfirmed|2010-08-28 19:51:18 |2021-12-17 Known to fail| | --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- We also now get a warning since GCC 8 too: /app/example.f90:10:10: 8 | do i = 2, 2 | 2 9 | where (mask) 10 | A = b(i) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2) /app/example.f90:10:10: 8 | do i = 2, 2 | 2 9 | where (mask) 10 | A = b(i) | 1 Warning: Array reference at (1) out of bounds (2 > 1) in loop beginning at (2)