aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop-invariant.c
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2006-02-12 21:59:32 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2006-02-12 21:59:32 +0200
commit82b8244c51cbf71e28f53a0e7e998aff924c36e7 (patch)
treeca366a0096c08065ac811e843aec247485318297 /gcc/loop-invariant.c
parent5b0b72518b76d75ad93ac95e6e05e772124085df (diff)
downloadgcc-82b8244c51cbf71e28f53a0e7e998aff924c36e7.zip
gcc-82b8244c51cbf71e28f53a0e7e998aff924c36e7.tar.gz
gcc-82b8244c51cbf71e28f53a0e7e998aff924c36e7.tar.bz2
re PR libfortran/25949 (Unbounded I/O buffer memory usage for formatted IO)
2006-02-12 Janne Blomqvist <jb@gcc.gnu.org> PR libgfortran/25949 * io/io.h: Add set function pointer to struct stream. * io/unix.c (fd_seek): Only update offset, don't seek. (fd_sset): New function. (fd_read): Call lseek directly if necessary. (fd_write): Likewise. (fd_open): Set pointer to fd_sset. (mem_set): New function. (open_internal): Set pointer to mem_set. * io/transfer.c (write_block_direct): Rename to write_buf, add error return, non-pointer length argument. (unformatted_write): Update to use write_buf. (us_write): Simplify by using swrite instead of salloc_w. (write_us_marker): New function. (new_record_w): Use sset instead of memset, use write_us_marker, simplify by using swrite instead of salloc_w. From-SVN: r110895
Diffstat (limited to 'gcc/loop-invariant.c')
0 files changed, 0 insertions, 0 deletions