[patch, libfortran] PR34560 Regression 4.3: I/O internal read: END expected, but no failure

Jerry DeLisle jvdelisle@verizon.net
Wed Dec 26 11:51:00 GMT 2007


Thomas Koenig wrote:
> On Tue, 2007-12-25 at 15:04 -0800, Jerry DeLisle wrote:
>> Hi Folks,
>>
>> This patch adds in the needed checks which I left out when fixing pr31501.  It 
>> is straight forward and I will commit this evening with the test case in the PR.
> 
> Hi Jerry,
> 
> you beat me to that part :-)
> 
> Does your patch also fix the test case from comment #2,
> 
> program main
>   character(len=2) :: line
>   character(len=1) :: a(3)
>   line = 'ab'
>   read (line,'(A)',end=99) a
>   stop
>   99 continue 
> end program main
> 
> ?
Hi Thomas,

You scared me.  I used the comment #2 test case in the first place and forgot to 
check the original test case.

(Jerry hurriedly checks the original case ... ok relax ... it fixes that one too)

Thanks Thomas,

Jerry



More information about the Gcc-patches mailing list