re PR libfortran/21324 (#undef GFC_CLEAR_MEMORY causes testsuite failures)
authorThomas Koenig <Thomas.Koenig@online.de>
Thu, 12 May 2005 17:50:33 +0000 (17:50 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 12 May 2005 17:50:33 +0000 (17:50 +0000)
commitc42a19d5e3a8236af3b727cd708bac22a8608b9d
tree35e0ae8368fc459238e0ba93fbf129aef6b0c137
parent7cc70b5e3c155ae457f89871dd7f644079f08a61
re PR libfortran/21324 (#undef GFC_CLEAR_MEMORY causes testsuite failures)

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.

From-SVN: r99619
libgfortran/ChangeLog
libgfortran/io/open.c
libgfortran/io/unit.c
libgfortran/io/unix.c
libgfortran/runtime/memory.c