gcc/libgfortran
Jerry DeLisle dcfddbd49c re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement)
2009-06-07  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/40008
	* libgfortran.h: Define IOPARM_OPEN_HAS_NEWUNIT.
	* io/open.c (st_open): Don't error on negative unit number if NEWUNIT
	was specified. If NEWUNIT is specified, call new function to get the
	unique unit number and assign it.
	* io/io.h (st_parameter_open): Add pointer to newunit.  Add prototype for
	next_available_newunit. Add prototype for new function,
	get_unique_unit_number.
	* io/unit.c: Declare next_available_newunit. Define the first newunit
	number. (init_units): Initialize next_available_unit.
	(get_unique_unit_number): New function. Fix whitespace and comments.
	* io/transfer.c (data_transfer_init): Update error message to not be
	specific to OPEN statements.

From-SVN: r148253
2009-06-07 19:00:47 +00:00
..
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
generated Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
intrinsics re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02:00
io re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement) 2009-06-07 19:00:47 +00:00
m4 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
runtime Revert part of r147883 that breaks ABI 2009-05-27 18:22:34 +03:00
acinclude.m4 re PR fortran/31832 (FAIL: gfortran.dg/integer_exponentiation_2.f90 at -O1 and above) 2008-12-29 20:10:00 +00:00
aclocal.m4
c99_protos.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ChangeLog re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement) 2009-06-07 19:00:47 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
config.h.in Fix PR40190; use localtime_r, gmtime_r, add fallback implementations 2009-05-29 23:56:20 +03:00
configure Fix PR40190; use localtime_r, gmtime_r, add fallback implementations 2009-05-29 23:56:20 +03:00
configure.ac Fix PR40190; use localtime_r, gmtime_r, add fallback implementations 2009-05-29 23:56:20 +03:00
configure.host
fmain.c re PR fortran/39178 (Generate main() rather than using a main in libgfortran/fmain.c) 2009-05-26 23:19:57 +02:00
gfortran.map re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02:00
libgfortran.h re PR fortran/40008 (F2008: Add NEWUNIT= for OPEN statement) 2009-06-07 19:00:47 +00:00
libtool-version
Makefile.am re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02:00
Makefile.in re PR fortran/40019 (LEADZ and TRAILZ give wrong results) 2009-05-29 23:27:54 +02: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