------- Comment #6 from pault at gcc dot gnu dot org 2008-01-22 09:03 ------- (In reply to comment #5) > Changing summary to better reflect what is wrong. Jerry,
Jerry, I believe this to be something missing in the library. Other compilers (G95 and DEC are what I can lay hands on right now), as far as I can see, interpret the io array references as being zero length. I think that transfer_array is, mostly, doing the right thing. If I add WRITE (48,IOSTAT = ISTAT, REC = 12) BDA1(3:4) or to any other record >10, the testcase works correctly. Thus, rather than just returning, with a zero length array, transfer_array has to write a zero length record if the current record is > the number of record in the file. I am completely lost in the library these days, whereas you are king:) Can you have another look? Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34876