This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: How to find line number of illegal array element access
- From: Tim Prince <timothyprince at sbcglobal dot net>
- To: Roderick Johnstone <rmj at ast dot cam dot ac dot uk>
- Cc: fortran at gcc dot gnu dot org
- Date: Sat, 29 Apr 2006 00:58:40 -0700
- Subject: Re: How to find line number of illegal array element access
- References: <4450D3BF.6000008@ast.cam.ac.uk>
- Reply-to: tprince at myrealbox dot com
Roderick Johnstone wrote:
Hi
I've been using the -fbounds-check option to gfortran to check for
illegal array element accesses at run time. Is it possible to get the
source code line number where the illegal access was made? If so how?
with -g, running under gdb?