gcc/libgfortran/io
Jerry DeLisle 9355110f96 re PR fortran/36420 (Fortran 2008: g0 edit descriptor)
2008-06-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/36420
	PR libfortran/36421
	PR libfortran/36422
	* io/io.h: Add prototype for write_real.
	* io/transfer.c (formatted_transfer_scalar): For FMT_G and width zero,
	use write_real.
	* io/format.c: Add zero width error message. (parse_format_list): Use
	error message for FMT_A if followed by FMT_ZERO. Use zero width error
	message	for FMT_G if mode is READ or if -std=f95 or f2003. (fmormat0):
	Fix typo in comment.
	* io/write.c (write_a): Set wlen to len if FMT_G and length is zero.
	(write_l): Add wlen variable and use it if FMT_G and width is zero.
	(write_decimal): If FMT_G, set m to -1 to flag processor dependent
	formatting. (write_real): Remove static declaration.

From-SVN: r136545
2008-06-07 23:59:53 +00:00
..
close.c re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
fbuf.c Part 1.1 of PR25561. 2008-05-16 20:42:44 +03:00
file_pos.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
format.c re PR fortran/36420 (Fortran 2008: g0 edit descriptor) 2008-06-07 23:59:53 +00:00
inquire.c PR fortran/25829 28655 2008-04-07 22:05:52 +00:00
intrinsics.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
io.h re PR fortran/36420 (Fortran 2008: g0 edit descriptor) 2008-06-07 23:59:53 +00:00
list_read.c list_read.c (list_formatted_read_scalar): Declare type as volatile to shut up compiler warning. 2008-05-17 22:24:06 +00:00
lock.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
open.c Part 1.1 of PR25561. 2008-05-16 20:42:44 +03:00
read.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
size_from_kind.c minloc1.m4: Update copyright year and ajust headers order. 2007-08-31 14:01:34 +00:00
transfer.c re PR fortran/36420 (Fortran 2008: g0 edit descriptor) 2008-06-07 23:59:53 +00:00
unit.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
unix.c Part 1 of PR 25561. 2008-05-15 18:53:34 +03:00
write_float.def PR fortran/25829 28655 2008-04-05 22:18:03 +00:00
write.c re PR fortran/36420 (Fortran 2008: g0 edit descriptor) 2008-06-07 23:59:53 +00:00