diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2012-04-15 11:52:44 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2012-04-15 11:52:44 +0000 |
commit | 79617d7e2e4e868da8bca85ea3d6d61ad1e89e4c (patch) | |
tree | 08aaee7239c0ac44b4cc25e5300419ba6b41659f /libgfortran/io/unix.c | |
parent | 9b63dcab1e9c9243604c8762ff9145951e485b9e (diff) | |
download | gcc-79617d7e2e4e868da8bca85ea3d6d61ad1e89e4c.zip gcc-79617d7e2e4e868da8bca85ea3d6d61ad1e89e4c.tar.gz gcc-79617d7e2e4e868da8bca85ea3d6d61ad1e89e4c.tar.bz2 |
re PR libfortran/38199 (missed optimization: I/O performance)
2012-04-15 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/38199
PR libfortran/50673
* intrinsics/string_intriniscs_inc.c (string_len_trim):
Remove prototypes for string_len_trim and move to...
* libgfortran.h (string_len_trim): ... here and
(string_len_trim_char4): ...here.
* io/unit.c: For non-array internal arrays where we do reading,
adjust the record length to the last non-blank character.
* io/unix.c: Fix typo.
From-SVN: r186466
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 278decd..185936f 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -736,7 +736,7 @@ mem_alloc_w4 (stream * strm, int * len) } -/* Stream read function for character(kine=1) internal units. */ +/* Stream read function for character(kind=1) internal units. */ static ssize_t mem_read (stream * s, void * buf, ssize_t nbytes) |