This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37129] Problems with access='direct', recl=1 I/O
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2008 19:53:56 -0000
- Subject: [Bug fortran/37129] Problems with access='direct', recl=1 I/O
- References: <bug-37129-16600@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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