gcc/libgfortran/io
Jerry DeLisle fc12098dbe re PR libfortran/69651 ([6 Regession] Usage of unitialized pointer io/list_read.c)
2016-02-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/69651
	* io/list_read.c: Entire file trailing spaces removed.
	(CASE_SEPARATORS): Remove '!'.
	(is_separator): Add namelist mode as condition with '!'.
	(push_char): Remove un-needed memset. (push_char4): Likewise and remove
	'new' pointer. (eat_separator): Remove un-needed use of notify_std.
	(read_logical): If '!' bang encountered when not in namelist mode got
	bad_logical to give an error. (read_integer): Likewise reject '!'.
	(read_character): Remove condition testing c = '!' which is now inside
	the is_separator macro. (parse_real): Reject '!' unless in namelist mode.
	(read_complex): Reject '!' unless in namelist mode. (read_real): Likewise
	reject '!'.

	PR libgfortran/69651
	* gfortran.dg/read_bang.f90: New test.
	* gfortran.dg/read_bang4.f90: New test.

From-SVN: r233436
2016-02-15 22:31:13 +00:00
..
close.c Update copyright years. 2016-01-04 15:30:50 +01:00
fbuf.c Update copyright years. 2016-01-04 15:30:50 +01:00
fbuf.h Update copyright years. 2016-01-04 15:30:50 +01:00
file_pos.c Update copyright years. 2016-01-04 15:30:50 +01:00
format.c Update copyright years. 2016-01-04 15:30:50 +01:00
format.h Update copyright years. 2016-01-04 15:30:50 +01:00
inquire.c Update copyright years. 2016-01-04 15:30:50 +01:00
intrinsics.c Update copyright years. 2016-01-04 15:30:50 +01:00
io.h Update copyright years. 2016-01-04 15:30:50 +01:00
list_read.c re PR libfortran/69651 ([6 Regession] Usage of unitialized pointer io/list_read.c) 2016-02-15 22:31:13 +00:00
lock.c Update copyright years. 2016-01-04 15:30:50 +01:00
open.c Update copyright years. 2016-01-04 15:30:50 +01:00
read.c Update copyright years. 2016-01-04 15:30:50 +01:00
size_from_kind.c Update copyright years. 2016-01-04 15:30:50 +01:00
transfer128.c Update copyright years. 2016-01-04 15:30:50 +01:00
transfer.c Update copyright years. 2016-01-04 15:30:50 +01:00
unit.c Update copyright years. 2016-01-04 15:30:50 +01:00
unix.c Update copyright years. 2016-01-04 15:30:50 +01:00
unix.h Update copyright years. 2016-01-04 15:30:50 +01:00
write_float.def Update copyright years. 2016-01-04 15:30:50 +01:00
write.c Update copyright years. 2016-01-04 15:30:50 +01:00