gcc/gcc/fortran
Steven G. Kargl df65f0938c 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.

Co-Authored-By: Paul Brook <paul@codesourcery.com>

From-SVN: r91609
2004-12-02 04:10:26 +00:00
..
.cvsignore
ChangeLog flush.c: New file. 2004-12-02 04:10:26 +00:00
Make-lang.in Makefile.in: Add html support. 2004-11-13 07:35:55 +00:00
arith.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
arith.h arith.c: Add #define for model numbers. 2004-08-06 20:36:05 +00:00
array.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
bbt.c Make-lang.in, [...]: Update copyright years and boilerplate. 2004-05-14 15:00:04 +02:00
check.c flush.c: New file. 2004-12-02 04:10:26 +00:00
config-lang.in config-lang.in: Remove dead commented line. 2004-08-25 21:18:35 +00:00
convert.c
data.c array.c, [...]: Fix comment typos. 2004-09-16 16:00:45 +00:00
decl.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
dependency.c array.c, [...]: Fix comment typos. 2004-09-16 16:00:45 +00:00
dependency.h Make-lang.in, [...]: Update copyright years and boilerplate. 2004-05-14 15:00:04 +02:00
dump-parse-tree.c gfortran.h (gfc_default_*_kind): Remove prototypes, add extern variable declaration of same name. 2004-08-27 16:49:35 +02:00
error.c array.c, [...]: Fix comment typos. 2004-09-16 16:00:45 +00:00
expr.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
f95-lang.c darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. 2004-11-25 11:13:38 +00:00
gfortran.h flush.c: New file. 2004-12-02 04:10:26 +00:00
gfortran.texi * gfortran.texi: Fix a typo. 2004-09-16 13:13:39 +00:00
gfortranspec.c darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. 2004-11-25 11:13:38 +00:00
interface.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
intrinsic.c flush.c: New file. 2004-12-02 04:10:26 +00:00
intrinsic.h flush.c: New file. 2004-12-02 04:10:26 +00:00
invoke.texi * invoke.texi: Fix typo. 2004-11-10 02:35:05 +00:00
io.c re PR fortran/18023 (ice on trying to convert between int and float) 2004-11-06 13:49:13 +01:00
iresolve.c flush.c: New file. 2004-12-02 04:10:26 +00:00
lang-specs.h re PR fortran/13702 (When preprocessing Fortran files (.F, .F90 and .F95) cpp should emit line numbers.) 2004-05-15 19:31:32 +02:00
lang.opt re PR fortran/17590 (Standard conformance should take intrinsics into account.) 2004-10-31 01:24:29 +00:00
match.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
match.h re PR fortran/13910 (Cannot initialize variables with declation as allowed by g77) 2004-08-29 18:58:39 +02:00
matchexp.c gfortran.h (gfc_current_locus, [...]): Remove. 2004-05-27 14:35:12 +02:00
mathbuiltins.def check.c (gfc_check_besn, [...]): New functions. 2004-08-29 15:58:16 +00:00
misc.c array.c, [...]: Fix comment typos. 2004-09-16 16:00:45 +00:00
module.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
options.c c-opts.c (c_common_post_options): Don't clear flag_inline_functions. 2004-11-24 19:45:32 +00:00
parse.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
parse.h arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
primary.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
resolve.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
scanner.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
simplify.c simplify.c (twos_complement): Calculate mask in GMP arithmetic. 2004-10-30 14:42:22 +00:00
st.c re PR fortran/13082 (Function entries and entries with alternate returns not implemented) 2004-08-17 15:34:12 +00:00
symbol.c array.c: Don't include assert.h. 2004-09-08 14:33:03 +00:00
trans-array.c re PR fortran/13010 (seg fault on valid code) 2004-11-16 02:02:37 +00:00
trans-array.h arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
trans-common.c array.c, [...]: Fix comment typos. 2004-09-16 16:00:45 +00:00
trans-const.c trans-const.c (gfc_build_cstring_const): New function. 2004-10-04 22:55:49 +02:00
trans-const.h trans-const.c (gfc_build_cstring_const): New function. 2004-10-04 22:55:49 +02:00
trans-decl.c darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. 2004-11-25 11:13:38 +00:00
trans-expr.c re PR fortran/18375 (ICE when compiling spec benchmark fma3d) 2004-11-10 20:03:21 +00:00
trans-intrinsic.c flush.c: New file. 2004-12-02 04:10:26 +00:00
trans-io.c re PR fortran/18375 (ICE when compiling spec benchmark fma3d) 2004-11-10 20:03:21 +00:00
trans-stmt.c arith.c, [...]: Fix comment formatting. 2004-11-08 14:56:41 +00:00
trans-stmt.h re PR fortran/13082 (Function entries and entries with alternate returns not implemented) 2004-08-17 15:34:12 +00:00
trans-types.c re PR fortran/13010 (seg fault on valid code) 2004-11-16 02:02:37 +00:00
trans-types.h re PR fortran/13010 (seg fault on valid code) 2004-11-16 02:02:37 +00:00
trans.c trans.c (gfc_trans_code): Set global locus after recursing. 2004-10-30 14:35:23 +00:00
trans.h re PR fortran/13010 (seg fault on valid code) 2004-11-16 02:02:37 +00:00