[Bug fortran/23375] show location for runtime errors
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed May 24 20:48:00 GMT 2006
------- 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
More information about the Gcc-bugs
mailing list