gcc/libgfortran/intrinsics
Steven G. Kargl f177a08700 flush.c: New file.
2004-12-02  Steven G. Kargl  <kargls@comcast.net>
	Paul Brook  <paul@codesourcery.com>

libgfortran/
	* intrinsics/flush.c: New file.
	* intrinsics/fnum.c: ditto
	* intrinsics/stat.c: ditto
	* io/io.h (unit_to_fd): Add prototype.
	* io/unix.c (unit_to_fd): New function.
	* configure.ac: Add test for members of struct stat.  Check for
	sys/types.h and sys/stat.h
	* Makefile.am: Add intrinsics/{flush.c,fnum.c,stat.c}
	* configure.in: Regenerate.
	* config.h.in: Regenerate.
	* Makefile.in: Regenerate.
fortran/
	* check.c (gfc_check_flush, gfc_check_fnum): New functions.
	(gfc_check_fstat, gfc_check_fstat_sub): New functions.
	(gfc_check_stat, gfc_check_stat_sub): New functions.
	* gfortran.h (GFC_ISYM_FNUM,GFC_ISYM_FSTAT,GFC_ISYM_STAT): New symbols
	* intrinsic.c (add_functions,add_subroutines): Add flush, fnum,
	fstat, and stat to intrinsics symbol tables.
	* intrinsic.h (gfc_check_flush, gfc_resolve_stat_sub): Add prototypes.
	(gfc_resolve_fstat_sub, gfc_resolve_stat): Ditto.
	* iresolve.c (gfc_resolve_fnum, gfc_resolve_fstat): New functions.
	(gfc_resolve_stat, gfc_resolve_flush): New functions.
	(gfc_resolve_stat_sub,gfc_resolve_fstat_sub): New functions
	* trans-intrinsic.c (gfc_conv_intrinsic_function): Add new intrinsics.

From-SVN: r91611
2004-12-02 04:20:09 +00:00
..
abort.c
args.c
associated.c
bessel.c
c99_functions.c re PR libfortran/15960 (missing function 'finite' on HP-UX 11.11) 2004-11-23 02:02:38 +00:00
cpu_time.c
cshift0.c
date_and_time.c
dprod_r8.f90
env.c
eoshift0.c
eoshift2.c
erf.c
etime.c
exit.c
flush.c flush.c: New file. 2004-12-02 04:20:09 +00:00
fnum.c flush.c: New file. 2004-12-02 04:20:09 +00:00
getcwd.c
getXid.c
ishftc.c
mvbits.c
pack_generic.c
rand.c
random.c
reshape_generic.c
reshape_packed.c
selected_int_kind.f90
selected_real_kind.f90
size.c
spread_generic.c
stat.c flush.c: New file. 2004-12-02 04:20:09 +00:00
string_intrinsics.c
system_clock.c
system.c
transpose_generic.c
umask.c
unlink.c
unpack_generic.c