[Bug fortran/23209] array shape conformance not checked
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 5 20:17:00 GMT 2005
------- 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
More information about the Gcc-bugs
mailing list