gcc/libgfortran/io
Jerry DeLisle 87557722c8 re PR libfortran/32456 (IO error message should show Unit/Filename)
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.

From-SVN: r125989
2007-06-24 22:56:21 +00:00
..
close.c re PR fortran/28335 (flush() / write() statement on closed units - error?) 2006-07-31 00:15:08 +00:00
file_pos.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
format.c re PR fortran/31395 ([4.2 Only] Colon edit descriptor is ignored unless preceded by a comma or a slash) 2007-04-06 15:39:02 +00:00
inquire.c re PR libfortran/31532 (INQUIRE(...,POSITION=...) not standard conforming) 2007-04-28 02:03:21 +00:00
intrinsics.c re PR target/22539 (Internal compiler error with maximum sized array) 2007-05-04 14:02:18 -04:00
io.h re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file) 2007-05-07 19:48:40 +00:00
list_read.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
lock.c re PR fortran/31201 (Too large unit number generates wrong code) 2007-05-06 22:28:31 +00:00
open.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00
read.c 2006-11-08 Steven G. Kargl <kargl@gcc.gnu.org> 2006-11-09 03:57:44 +00:00
size_from_kind.c random.c: Include config.h 2005-11-27 17:09:40 -05:00
transfer.c re PR fortran/32235 (incorrectly position text file after backspace) 2007-06-10 22:50:47 +00:00
unit.c re PR libfortran/32456 (IO error message should show Unit/Filename) 2007-06-24 22:56:21 +00:00
unix.c unix.c (unix_stream): Rearrange struct members, remove small_buffer. 2007-05-26 23:50:21 +03:00
write.c re PR fortran/32446 (F0.n output format fails with large numbers) 2007-06-24 18:54:50 +00:00