]> git.ipfire.org Git - thirdparty/gcc.git/commit
2007-06-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2007 22:56:21 +0000 (22:56 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Jun 2007 22:56:21 +0000 (22:56 +0000)
commitf7f911de43d30c847600b985b96ac23b1462be85
tree02b1685a81931b1ab370a868e2b201861e6a069c
parent5bd7f4f4bc1960fcad9a1e527685ebece5884724
2007-06-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/32456
* runtime/error.c (show_locus): Update to emit the unit number
and file name involved with the error.  Use new function
filename_from_unit.
* libgfortran.h (filename_from_unit): Declare new function.
* io/unit.c (init_units): Set the unit file name for stdin, stdout,
and stderr for use later in error reporting.
(filename_from_unit): Add this new function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125989 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/io/unit.c
libgfortran/libgfortran.h
libgfortran/runtime/error.c