------- Comment #2 from jvdelisle at gcc dot gnu dot org 2006-08-18 16:12 ------- Simplified test case used in discussion above.
program streamtest implicit none real, dimension(2,3) :: anarray open(10, file="teststream", access="stream", form="unformatted") anarray = 3.14159 write(10) anarray !flush(10) write(10, pos=1) ! This is a way to position an unformatted file anarray = 0.0 read(10) anarray close(10,status="keep") end program streamtest Additional info: Using built-in specs. Target: x86_64-unknown-freebsd7.0 Configured with: ../gcc4x/configure --prefix=/home/sgk/work/4x --enable-languages=c,fortran Thread model: posix gcc version 4.2.0 20060816 (experimental) -- jvdelisle at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC host triplet|FreeBSD |x86_64-unknown-freebsd7.0 GCC target triplet| |x86_64-unknown-freebsd7.0 Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28747