gcc/libgfortran
Jerry DeLisle d7445152be re PR fortran/37498 (Incorrect array value returned - 4.3 ABI Broken)
2008-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR fortran/37498
	* trans-io.c (gfc_build_io_library_fndecls): Bump pad size.
	(build_dt): Set mask bit for IOPARM_dt_f2003.
	* ioparm.def: Add IOPARM_dt_f2003.

2008-09-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org

	PR libfortran/37498
	* file_pos (st_endfile): Clear memory only for libfortran 4.3 private
	area.
	* list_read.c (eat_separator): Only access F2003 I/O parameters if
	IOPARM_DT_HAS_F2003 bit is set. (parse_real): Ditto.
	(read_real): Ditto.
	* read.c (read_a): Likewise. (read_a_char4): Likewise though not
	strictly necessary. (read_f): Likewise.
	* io.h (unit_sign_s): New enumerator to allow duplication of
	st_parameter structures. (IOPARM_DT_HAS_F2003): New mask bit.
	(st_parameter_43): New structure copied from 4.3 version of 
	st_paramater_dt private section. (st_parameter_44): New structure with
	F2003 items added. (st_parameter_dt): Modified to create union of new
	and old structures to allow correct memory setting for 4.3 ABI
	compatibility. Bumped the pad size.
	* transfer.c (read_sf): Do not use F2003 I/O memory areas unless
	IOPARM_DT_HAS_F2003 bit has been set. (read_block_form): Ditto.
	(formatted_transfer_scalar): Ditto. (data_transfer_init): Ditto and
	add comment, fix formatting.
	* write.c (write_default_char4): Likewise though not strictly necessary.
	(write_utf8_char4): Ditto. (write_character): Ditto.
	(write_real_g0): Ditto. (list_formatted_write_scalar): Ditto.
	(nml_write_obj): Ditto. (namelist_write): Ditto.
	* write_float.def (calculate_sign): Eliminate warning by including all
	cases in switch. (output_float): Output only decimal point of F2003 flag
	is not set.

From-SVN: r140576
2008-09-23 03:52:19 +00:00
..
config
generated re PR fortran/37203 (Check ORDER= of RESHAPE) 2008-09-07 13:33:18 +00:00
intrinsics re PR fortran/37203 (Check ORDER= of RESHAPE) 2008-09-07 13:33:18 +00:00
io re PR fortran/37498 (Incorrect array value returned - 4.3 ABI Broken) 2008-09-23 03:52:19 +00:00
m4 re PR fortran/37203 (Check ORDER= of RESHAPE) 2008-09-07 13:33:18 +00:00
runtime error.c: Fix cast for printf. 2008-09-02 01:14:04 +00:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. 2008-07-07 19:16:18 +00:00
aclocal.m4
c99_protos.h
ChangeLog re PR fortran/37498 (Incorrect array value returned - 4.3 ABI Broken) 2008-09-23 03:52:19 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
config.h.in
configure acinclude.m4 (LIBGFOR_CHECK_GTHR_DEFAULT): Fix configure cache variable name. 2008-07-07 19:16:18 +00:00
configure.ac configure.ac (AM_CFLAGS): Remove -Werror again. 2008-06-13 21:29:22 +02:00
configure.host
fmain.c
gfortran.map re PR fortran/36132 (_gfortran_internal_pack on optional arguments) 2008-07-27 12:45:44 +02:00
libgfortran.h libgfortran.h (likely,unlikely): New makros. 2008-09-06 16:53:26 +02:00
libtool-version
Makefile.am re PR libfortran/36886 (misaligment for cshift of character) 2008-08-14 18:31:32 +00:00
Makefile.in re PR libfortran/36886 (misaligment for cshift of character) 2008-08-14 18:31:32 +00:00
mk-kinds-h.sh mk-kinds-h.sh: Make -Wunused-variable proof. 2008-09-10 18:39:15 +02: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 mk-sik-inc.sh: Make -Wunused-variable proof. 2008-09-10 19:18:08 +02:00