This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/30014] INQUIRE (iolength = xx) limited to kind=4



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]