gcc/libgfortran
Jerry DeLisle d428be77b6 re PR libfortran/52539 (I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write)
2014-05-17  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/52539
	* io/io.h (gfc_unit): New function pointers *next_char_fn_ptr
	and *push_char_fn_ptr.
	*io/list_read.c (next_char): Create macro with this name to call
	the new function pointer. Split the original next_char function
	into three new functions. (next_char_default, next_char_internal,
	next_char_utf8): New functions. (push_char): Create macro with
	this name to call new function pointer. Split the original
	push_char into three new functions. (push_char_default,
	push_char_internal, push_char4): New functions. (set_workers):
	New function to initilize the function pointers depending on the
	type of IO to be performed. (list_formatted_read_scalar): Use
	set_workers function. (finish_list_read): Likewise.
	(namelist_read): Likewise.
	(nml_get_obj_data): Use push_char_default.

From-SVN: r210574
2014-05-18 02:29:27 +00:00
..
caf trans-intrinsic.c (gfc_build_builtin_function_decls): Change type of second argument to int. 2014-05-11 20:25:55 +02:00
config Remove obsolete Solaris 9 support 2014-04-22 12:30:59 +00:00
generated Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
intrinsics Fix stack overflow crash in getcwd intrinsic. 2014-05-12 22:23:11 +03:00
io re PR libfortran/52539 (I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write) 2014-05-18 02:29:27 +00:00
m4 Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
runtime Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
acinclude.m4
aclocal.m4 Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
c99_protos.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
ChangeLog re PR libfortran/52539 (I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist read and nml write) 2014-05-18 02:29:27 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
config.h.in configure.ac: Check for presence of fcntl. 2014-03-18 09:58:17 +00:00
configure Use -std=gnu11 instead of -std=gnu99 for libgfortran C code. 2014-05-12 22:20:50 +03:00
configure.ac Use -std=gnu11 instead of -std=gnu99 for libgfortran C code. 2014-05-12 22:20:50 +03:00
configure.host
fmain.c
gfortran.map
kinds-override.h Update copyright years in libgfortran/ 2014-01-02 22:25:45 +00:00
libgfortran.h libgfortran.h (unlikely, likely): Add usage comment. 2014-03-08 23:13:26 +01:00
libgfortran.spec.in
libtool-version
Makefile.am
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh