This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: How to find line number of illegal array element access


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?


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