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

[Bug fortran/23375] show location for runtime errors



------- 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


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