gcc/libgfortran/io
Janne Blomqvist 8750f9cdec re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented)
PR fortran/15750
	* io.c (gfc_match_inquire): Bugfix for iolength related stuff.
	(gfc_resolve_inquire): Resolve the iolength tag.  Return
	SUCCESS at end of function if no failure has occured.
	* resolve.c (resolve_code): Resolve if iolength is encountered.
	* trans-io.c: (ioparm_iolength, iocall_iolength,
	iocall_iolength_done): New variables.
	(last_dt): Add IOLENGTH.
	(gfc_build_io_library_fndecls ): Set iolength related variables.
	(gfc_trans_iolength): Implement.
	(gfc_trans_dt_end): Treat iolength as a third form of data transfer.
libgfortran/
	PR fortran/15750
	* inquire.c (st_inquire): Add comment
	* io.h (st_parameter): Add iolength.
	(st_iolength, st_iolength_done): Declare.
	* transfer.c (iolength_transfer, iolength_transfer_init,
	st_iolength, st_iolength_done): New functions.
testsuite/
	* gfortran.fortran-torture/execute/iolength_1.f90: New test.
	* gfortran.fortran-torture/execute/iolength_3.f90: New test.

From-SVN: r83472
2004-06-22 00:43:55 +00:00
..
backspace.c re PR libfortran/15755 (gfortran: backspace call causes bus error) 2004-06-09 00:55:04 +00:00
close.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
endfile.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
format.c io.c (check_format): As a GNU extension... 2004-05-21 21:37:25 +00:00
inquire.c re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented) 2004-06-22 00:43:55 +00:00
io.h re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented) 2004-06-22 00:43:55 +00:00
list_read.c re PR libfortran/16080 (segmentation fault when reading empty string) 2004-06-19 17:03:16 +00:00
lock.c
open.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
read.c
rewind.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-15 22:44:38 +02:00
transfer.c re PR fortran/15750 (IOLENGTH form of INQUIRE statement not implemented) 2004-06-22 00:43:55 +00:00
unit.c re PR libfortran/15235 (libgfortran doesn't build on Solaris 10) 2004-05-18 18:06:09 +02:00
unix.c re PR libfortran/15235 (libgfortran doesn't build on Solaris 10) 2004-05-18 18:06:09 +02:00
write.c re PR libfortran/12839 (incorrect IO of Inf) 2004-06-12 12:50:54 +00:00