This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: libfortran: Don't zero internally allocated memory (performanceissue, PR 21324)
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Thomas Koenig <Thomas dot Koenig at online dot de>
- Cc: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 May 2005 23:40:39 +0200
- Subject: Re: libfortran: Don't zero internally allocated memory (performanceissue, PR 21324)
- References: <20050502195137.GA9012@meiner.onlinehome.de> <20050502195512.GA9031@meiner.onlinehome.de>
Thomas Koenig wrote:
> I wrote:
>
>
>>OK to commit?
Yes, please.
- Tobi
>
>
> Of course, this is better with the actual patch attached...
>
>
>> Thomas
>>
>>2005-05-02 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.