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 Use -z ignore instead of --as-needed on Solaris 2013-05-24 09:23:33 +00:00
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-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2003 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2004 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2005 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2006 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2007 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2008 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2009 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
ChangeLog-2012 ChangeLog rotation. 2013-01-03 10:47:48 +01:00
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 PR 48977 Denormal exception on glibc targets 2011-05-20 17:45:51 +03:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
gfortran.map re PR libfortran/36044 (user-requested backtrace) 2012-12-20 19:15:13 +01:00
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 re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
libtool-version re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +00:00
Makefile.am Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
Makefile.in Set close-on-exec flag when opening files. 2013-11-10 22:34:29 +02:00
mk-kinds-h.sh re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
mk-sik-inc.sh mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00