diff options
author | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-12 17:50:33 +0000 |
---|---|---|
committer | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-12 17:50:33 +0000 |
commit | 8f8ad8993b1e3314d5a0d3dc7f6d7bfc6e5cab4c (patch) | |
tree | 35e0ae8368fc459238e0ba93fbf129aef6b0c137 /libgfortran/runtime | |
parent | 1d69676fdc7757350cef194af3a86290a942a2a6 (diff) | |
download | ppe42-gcc-8f8ad8993b1e3314d5a0d3dc7f6d7bfc6e5cab4c.tar.gz ppe42-gcc-8f8ad8993b1e3314d5a0d3dc7f6d7bfc6e5cab4c.zip |
2005-05-12 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/21324
* runtime/memory.c: Don't define GFC_CLEAR_MEMORY (it's a
performance hog).
* io/open.c (new_unit): Zero freshly allocated memory for
unit structure.
* io/unit.c (init_units): Zero freshly allocated memory for
STDIN, STDOUT and STDERR.
* io/unix.c (open_internal): Zero freshly allocated memory
for unix_stream.
(fd_to_stream): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99619 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/runtime')
-rw-r--r-- | libgfortran/runtime/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/runtime/memory.c b/libgfortran/runtime/memory.c index 8b8dca89afd..ce2dc91c797 100644 --- a/libgfortran/runtime/memory.c +++ b/libgfortran/runtime/memory.c @@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ return memory that is guaranteed to be set to zero. This can have a severe efficiency penalty, so it should never be set if good performance is desired, but it can help when you're debugging code. */ -#define GFC_CLEAR_MEMORY +/* #define GFC_CLEAR_MEMORY */ /* If GFC_CHECK_MEMORY is defined, we do some sanity checks at runtime. This causes small overhead, but again, it also helps debugging. */ |