Valid Code Question
Paul Thomas
paulthomas2@wanadoo.fr
Sun Oct 30 11:16:00 GMT 2005
Jerry DeLisle wrote:
> Hi All,
>
> I am putting together a test case for pr24584. I noticed that ifort
> rejects this at the read statement at compile time. gfortran compiles
> it fine but gives a run time error message on the read. If I take
> 'var' out of the read ifort accepts this and it runs fine. Similarly
> it runs OK with gfortran with the patch listed in the pr (attached).
> However, the second program listed below is also rejected by ifort,
> but gfortran accepts it and runs it fine. Can someone give me an
> interpretation of what is and is not valid code in these cases.
The ifort message is correct. io.c (match_io):2256 onwards is missing
the exclusion of this that appears earlier (~:2190) for PRINT namelist.
Paul T
More information about the Fortran
mailing list