This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libfortran: Don't zero internally allocated memory (performanceissue, PR 21324)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]