[Bug fortran/60810] [4.9 Regression] list directed io from array results in end of file

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Apr 11 01:55:00 GMT 2014


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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-11
                 CC|                            |jvdelisle at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jvdelisle at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Confirmed.

Works on 4.6, fails on 4.7, 4.8, and 4.9.

I have to think about this a bit.  I could see an end-of-record message would
be possibly the right behavior since each array element is treated as a record.

On the other hand, ifort accepts this.  So I wonder what other compilers do.



More information about the Gcc-bugs mailing list