This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/30014] INQUIRE (iolength = xx) limited to kind=4
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Nov 2006 07:19:54 -0000
- Subject: [Bug libfortran/30014] INQUIRE (iolength = xx) limited to kind=4
- References: <bug-30014-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from burnus at gcc dot gnu dot org 2006-11-29 07:19 -------
Confirm. Note, however, that F95 requires only support of the default integer,
but F2003 lifted this restriction:
F95:
INQUIRE ( IOLENGTH = scalar-default-int-variable ) output-item-list
F2003:
INQUIRE ( IOLENGTH = scalar-int-variable ) output-item-list
(For std=f95 a check is missing to give an error for other integers.)
Cf. libgfortran/io/io.h: st_parameter_dt
GFC_INTEGER_4 *size, *iolength;
libgfortran/io/transfer.c:
*dtp->iolength += (GFC_INTEGER_4) size * nelems;
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-11-29 07:19:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30014