https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103472
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |14.0 Known to fail| |13.2.0 --- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> --- The example from comment #0 is now rejected, which avoids the problem: comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Warning: Lower array reference at (1) is out of bounds (1 > 0) in dimension 1 comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Warning: Lower array reference at (1) is out of bounds (1 > 0) in dimension 1 comment_0.f90:3:15: 3 | print *, (a(1:1)) | 1 Error: index in dimension 1 is out of bounds at (1)