gcc/libgfortran
Thomas Koenig d02b2c6474 re PR libfortran/18982 (open(status="new") does not generate an error if the file exists)
2005-01-22  Thomas Koenig  <Thomas.Koenig@online.de>

	PR libfortran/18982
	* io/unix.c (regular_file):  No need to change flags->action
	if an error occurs.  Document this.
	No need to call stat() for STATUS_OLD, open() will
	fail anyway.
	For ACTION_UNSPECIFIED, try open for read-write, then for
	read-only if open fails with EACCES, then for write-only
	if that fails with EACCES again.
	* io/unix.c (open_external): Document changed behavior of
	regular_file.
testsuite/
	* gfortran.dg/open_new.f90: New file.

From-SVN: r94076
2005-01-22 19:49:18 +00:00
..
generated re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
intrinsics re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
io re PR libfortran/18982 (open(status="new") does not generate an error if the file exists) 2005-01-22 19:49:18 +00:00
m4 re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
runtime re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
.cvsignore ignore autom4te.cache 2004-08-23 23:51:56 +00:00
AUTHORS Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
COPYING Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
ChangeLog re PR libfortran/18982 (open(status="new") does not generate an error if the file exists) 2005-01-22 19:49:18 +00:00
INSTALL Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
Makefile.am re PR bootstrap/18895 (libgfortran AM_MAKEFLAGS arg list + environment too large) 2004-12-09 11:31:19 -05:00
Makefile.in re PR bootstrap/18895 (libgfortran AM_MAKEFLAGS arg list + environment too large) 2004-12-09 11:31:19 -05:00
NEWS Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
README Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
acinclude.m4 acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
aclocal.m4 Introduce and use config/gcc-version.m4. 2004-12-02 11:05:13 +00:00
c99_protos.h re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
config.h.in acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
configure acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
configure.ac acinclude.m4 (LIBGFOR_CHECK_ATTRIBUTE_VISIBILITY): New. 2004-12-12 00:59:05 -08:00
fmain.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
libgfortran.h re PR libfortran/19280 (Inconsistent licensing of libgfortran) 2005-01-12 21:27:33 +00:00
libtool-version libtool-version: New. 2004-07-04 09:06:54 +00:00
mk-sik-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00

README

This is the GNU Fortran 95 Runtime library (libgfortran).
It is intended to be compiled as part of GCC.

Programs must be linked with "-lgfortran -lm". The 'gfortran' driver does this
automatically.

You'll need to apply gcc_config.patch to your top level GCC source directory.
This tells the the GCC configure system about libgfor. This patch can confuse
patch as it contains a filename with a '-' in it. use "patch -p1" to avoid this
problem.

For more information about GNU Fortran 95, see http://gcc-g95.sourceforge.net

Paul Brook <paul@nowt.org>