This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Valid Code Question
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: jvdelisle at gcc dot gnu dot org
- Cc: Fortran List <fortran at gcc dot gnu dot org>
- Date: Sun, 30 Oct 2005 11:19:40 +0100
- Subject: Re: Valid Code Question
- References: <43647AEB.9000206@verizon.net>
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