gcc/libgfortran
Jakub Jelinek 24722ea98e list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
* io/list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined.
	(nml_read_obj): Add nml_err_msg_size argument.  Pass it down to
	recursive call.  Use snprintf instead of sprintf when %s nl->var_name
	is used.
	(nml_get_obj_data): Add nml_err_msg_size argument.  Pass it down to
	nml_read_obj call.  Use snprintf instead of sprintf when %s
	nl->var_name is used.  Pass nml_err_msg to nml_parse_qualifier instead
	of parse_err_msg array.  Append " for namelist variable " and
	nl->var_name to it.
	(namelist_read): Increase size of nml_err_msg array to 200.  Pass
	sizeof nml_err_msg as extra argument to nml_get_obj_data.

	* gfortran.dg/namelist_47.f90: New test.

From-SVN: r134132
2008-04-09 11:00:31 +02:00
..
config
generated re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
intrinsics re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
io list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined. 2008-04-09 11:00:31 +02:00
m4 re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
runtime re PR libfortran/32972 (performance of pack/unpack) 2008-03-19 16:56:22 +00:00
acinclude.m4 re PR libfortran/32841 (HUGE(1.0_16) output as +Infinity on ppc-darwin8 (gfortran.dg/large_real_kind_2.F90)) 2008-02-24 11:59:09 +00:00
aclocal.m4 configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
c99_protos.h re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
ChangeLog list_read.c (snprintf): Define if HAVE_SNPRINTF isn't defined. 2008-04-09 11:00:31 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007 Rotate Fortran ChangeLogs. 2008-01-02 18:54:50 +01:00
config.h.in re PR fortran/33197 (Fortran 2008: math functions) 2008-03-03 23:46:20 +00:00
configure configure.ac: m4_include config/proginstall.m4. 2008-03-16 08:19:08 +00:00
configure.ac re PR libfortran/33583 (FAIL: gfortran.dg/gamma_1.f90) 2007-11-16 22:31:28 +00:00
configure.host
fmain.c
gfortran.map PR fortran/25829 28655 2008-04-05 22:18:03 +00:00
libgfortran.h PR fortran/25829 28655 2008-04-05 22:18:03 +00:00
libtool-version
Makefile.am re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
Makefile.in re PR libfortran/32972 (performance of pack/unpack) 2008-03-28 23:22:49 +00:00
mk-kinds-h.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-sik-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00
mk-srk-inc.sh re PR libfortran/34669 (libgfortran doesn't build with -pipe) 2008-01-16 10:13:39 +01:00