This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch fortran] PR 13919 - Runtime "internal error" in IO


> Here is a testsuite file, read_eof.f90:
>
> ! pr 13919, segfault when file is empty
>       open(unit=8,file='/tmp/any_file')
>       read(8,*,end=1)i
> 1     continue
>       end
>
> Works with this test as well as the code snippet included in the PR. no
> additional regressions.
>
> Tested i686 / linux
>
>
>
> --bud
>
> 2004-03-05   Bud Davis	<bdavis9659@comcast.net>
>
> 	PR 13919
> 	* io/io.h (global_t):
>         * io/list_read.c
> (next_char,list_formatted_read,ist_formatted_read): Move eof_jmp to a
> global structure.
>         * io/transfer.c(finalize_transfer) : Set up eof_jump for callers.

Applied, thanks.

Paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]