------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-08-05 20:17 ------- At least it's caught at runtime with -fbounds-check:
$ gfortran -fbounds-check conform.f90 $ ./a.out Fortran runtime error: Array bound mismatch I agree that a compile-time check would be better. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23209