This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23375] show location for runtime errors
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2006 20:48:24 -0000
- Subject: [Bug fortran/23375] show location for runtime errors
- References: <bug-23375-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from tkoenig at gcc dot gnu dot org 2006-05-24 20:48 -------
(In reply to comment #5)
> So, how to make a patch for this:
> Create a runtime_error_with_loc in gcc-4.1.0/libgfortran/runtime/error.c that
> uses the a line number and filename.
>
> Change the gfor_fndecl_runtime_error to call runtime_error_with_loc instead of
> runtime_error in gcc-4.1.0/gcc/fortran/trans-decl.c
Looks doable. Correct line number information would be preferable, of
course (I currently have no idea why this goes wrong right now).
Do you already have a copyright assignment with the FSF? If so,
maybe you can prepare a patch. I promise speedy review :-)
Thomas
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23375