[Bug libfortran/21324] #undef GFC_CLEAR_MEMORY causes testsuite failures

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 12 17:51:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-12 17:50 -------
Subject: Bug 21324

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	tkoenig@gcc.gnu.org	2005-05-12 17:50:35

Modified files:
	libgfortran    : ChangeLog 
	libgfortran/io : open.c unit.c unix.c 
	libgfortran/runtime: memory.c 

Log message:
	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.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gcc&r1=1.214&r2=1.215
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gcc&r1=1.13&r2=1.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unit.c.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/runtime/memory.c.diff?cvsroot=gcc&r1=1.6&r2=1.7



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21324



More information about the Gcc-bugs mailing list