------- Comment #1 from dir at lanl dot gov 2006-01-06 20:11 ------- Here is a shorter one that also crashes on the Macintosh -
[dranta:~/tests/gfortran-D] dir% gfortran -o write20 write20.f [dranta:~/tests/gfortran-D] dir% write20 Segmentation fault [dranta:~/tests/gfortran-D] dir% cat write20.f integer data(500) do i = 1,500 data(i)=-1 enddo open(unit=11,status='scratch',form='unformatted') write(11)data read(11,end= 1000 )data 1000 continue backspace 11 backspace 11 write(11)data rewind 11 read(11,end= 1001 )data 1001 continue read(11,end= 1002 )data 1002 continue close(11) end -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25697