This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/27868] Array reference out of bounds check should state file/line number or should at least crash



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]