* intrinsics/flush.c (flush_i8): Add function flush_i8. Update
copyright years.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102641
138bc75d-0d04-0410-961f-
82ee72b054a4
2005-07-31 Jerry DeLisle <jvdelisle@verizon.net>
- * intrinsic.texi: Add documentation for exponent, floor, and fnum and
- fix description of ceiling in index.
+ * intrinsic.texi: Add documentation for exponent, floor, and fnum and
+ fix description of ceiling in index.
2005-07-31 Steven Bosscher <stevenb@suse.de>
+2005-08-01 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
+ PR libfortran/23178
+ * intrinsics/flush.c (flush_i8): Add function flush_i8. Update
+ copyright years.
+
2005-07-31 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/21787
/* Implementation of the FLUSH intrinsic.
- Copyright (C) 2004 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005 Free Software Foundation, Inc.
Contributed by Steven G. Kargl <kargls@comcast.net>.
This file is part of the GNU Fortran 95 runtime library (libgfortran).
flush (us->s);
}
}
+
+
+extern void flush_i8 (GFC_INTEGER_8 *);
+export_proto(flush_i8);
+
+void
+flush_i8 (GFC_INTEGER_8 *unit)
+{
+ gfc_unit *us;
+
+ /* flush all streams */
+ if (unit == NULL)
+ {
+ us = g.unit_root;
+ recursive_flush(us);
+ }
+ else
+ {
+ us = find_unit(*unit);
+ if (us != NULL)
+ flush (us->s);
+ }
+}