[Bug libfortran/38668] advance="no": no buffering, truncate and seek
tkoenig at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 10:03:00 GMT 2008
------- Comment #1 from tkoenig at gcc dot gnu dot org 2008-12-30 10:02 -------
Strange to say, this depends on the bittian-ness.
On x86_64-unknown-linux-gnu with -m32 and on i686-pc-linux-gnu, I get
the behavior described.
On x86_64-unknown-linux-gnu without -m32, I get
lseek(3, 9613, SEEK_SET) = 9613
ftruncate(3, 9613) = 0
write(3, "a", 1) = 1
lseek(3, 9614, SEEK_SET) = 9614
ftruncate(3, 9614) = 0
write(3, "a", 1) = 1
lseek(3, 9615, SEEK_SET) = 9615
ftruncate(3, 9615) = 0
write(3, "a", 1) = 1
lseek(3, 9616, SEEK_SET) = 9616
ftruncate(3, 9616) = 0
write(3, "a", 1) = 1
lseek(3, 9617, SEEK_SET) = 9617
ftruncate(3, 9617) = 0
write(3, "a", 1) = 1
lseek(3, 9618, SEEK_SET) = 9618
--
tkoenig at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38668
More information about the Gcc-bugs
mailing list