[Bug fortran/37129] Problems with access='direct', recl=1 I/O

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 17 19:55:00 GMT 2008



------- Comment #6 from kargl at gcc dot gnu dot org  2008-08-17 19:53 -------
(In reply to comment #4)
> I agree there is legacy g77 behavior involved here.  I did a test here, and a
> very simple patch will enable this feature.  At least for the test case I get
> the exact same results as g77.  I just disable this check for RECL=1 and
> std=legacy.
> 
> I am leary about doing this sort of thing and would like to here from others on
> the team s far as doing this.
> 

Given Tobias' findings with other compilers and the fact that this extension
is not documented in the g77 manual (well at least I can't find it documented),
I'm inclined to state that the code is invalid and g77 has a bug.


-- 


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



More information about the Gcc-bugs mailing list