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 fortran/34599] IOSTAT variable in data transfer input/output list



------- Comment #1 from tkoenig at gcc dot gnu dot org  2007-12-27 16:20 -------
This is invalid (but we could catch it, as an enhancement).

>From the F95 draft, 9.4.1:

In a data transfer statement, the variable specified in an IOSTAT= or a SIZE=
specifier, if any, shall
not be associated with any entity in the data transfer input/output list
(9.4.2) or
namelist-group-object-list, nor with a do-variable of an io-implied-do in the
data transfer input/output list.


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-27 16:20:25
               date|                            |
            Summary|Order: IOSTAT is wrongly set|IOSTAT variable in data
                   |before data is transferred  |transfer input/output list


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34599


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