[Bug fortran/78351] comma not terminating READ of formatted input field - ok in 4.1.7, not 4.4.7- maybe related to 25419?

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 15 23:26:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78351

--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to Dr. Kevin B. Beard from comment #5)
> I've always understood that a comma will terminate a FORTRAN field - for
> example:
> 
> https://docs.oracle.com/cd/E19957-01/805-4939/z4000743a36d/index.html
> 
> Am I misunderstanding the F77 standard?  Also, "-std=legacy" doesn't help.  
> It is difficult to modify many millions of lines of legacy code to change
> that.

I just finished fixing another issue and am now looking at this one. Generally
speaking if code worked before under g77, we do our best to have it work under
gfortran with -std=gnu which is the default, then if something violates f95 or
later we will give error with -std=f95. I will post back here what I determine
as far as what the bug specifically is.


More information about the Gcc-bugs mailing list