[Bug fortran/27868] Array reference out of bounds check should state file/line number or should at least crash
tobias dot burnus at physik dot fu-berlin dot de
gcc-bugzilla@gcc.gnu.org
Thu Jun 1 21:41:00 GMT 2006
------- Comment #2 from tobias dot burnus at physik dot fu-berlin dot de 2006-06-01 21:41 -------
> Why not use gdb?
I don't see how gdb helps pinpointing the array-out-of-bound problem. As said:
the program ends with
Fortran runtime error: Array reference out of bounds
Program exited with code 02.
but it does not crash. Thus there is no backtrace available to pinpoint the
problem.
If you mean for the double-free: It crashes at a deallocate() which looks
rather innocent (as does the whole file). My feeling is that something gets
corrupted duing a subroutine call.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27868
More information about the Gcc-bugs
mailing list