This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30941] intrinsic: FLUSH
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Mar 2007 10:22:39 -0000
- Subject: [Bug fortran/30941] intrinsic: FLUSH
- References: <bug-30941-13648@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-03-03 10:22 -------
For what it's worth, here's my opinion: we don't want to have a zillion of
different versions of each library function. It might be worth doing for
functions that are expected to be called in hot spots of the user code, but not
for FLUSH, EXIT and other such intrinsics. So, it would be better to agree once
and for all on a reasonnable choice of kind, depending on the use done for the
intrinsic, and implementing and documenting this.
I think in the case of FLUSH, there's an easy choice for the kind of UNIT. The
unit numbers are always, in the I/O library, of kind=4 (see libgfortran.h,
struct st_parameter_common).
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-03 10:22:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30941