[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: Valid Code Question
From: Paul Thomas <paulthomas2 () wanadoo ! fr>
Date: 2005-10-30 10:19:40
Message-ID: 43649E3C.3060703 () wanadoo ! fr
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic