It is really helpful to have a program which stops with
Fortran runtime error: Array reference out of bounds
when compiled with -fbounds-check. Because one has no idea where this happens.
Expected: At least crash so that one can do a backtrace in the debugger. Or
write out the file/line number/variable name ...
(Sorry for being sarcastic. The program runs ok with all checks turned on in
the ifort 9.1, but crashes very early with gfortran 4.1 [glibc reports a double
free].)
--
Summary: Array reference out of bounds check should state
file/line number or should at least crash
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tobias dot burnus at physik dot fu-berlin dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27868