------- Comment #6 from kargl at gcc dot gnu dot org 2008-11-15 17:28 ------- (In reply to comment #5) > > I do believe that one could write a standard conforming "layer" in Fortran to > handle all of the OPs issues. Obviously one would have to get creative to do > it.
Which OP? The originator of the c.l.f thread or the originator of this bug report. I've cited passages from the F77 standard and F95 standards that explicitly state the issue raised in this PR is a non-issue. gfortran's current behavior correctly conforms to the standard. Please, don't unfix that behavior. As Tobias points out, attaching 2 or more unit numbers to the same file would open gfortran to race conditions. Jakub went through libgfortran to make it thread when he added the OpenMP code. You would need to paste in a layer of mutexes to properly lock/unlock access to files. I for one do not see the benefit of forcing a performance penalty on everyone to permit nonconforming code to compile. $0.02 PS: yes, the ASIS issue should be fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38122