A backtrace (or coredump) would be nice for array out of bounds. It would have to be implemented in as library call. This could be combined with given more information (accessed index, allowed index) which is often requested, e.g. PR 31270).
-- Summary: Backtrace/coredump for array-out-of-bounds errors (- fbounds-check) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org OtherBugsDependingO 27766 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31278