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

2005-05-02 Thread tkoenig at gcc dot gnu dot org

--- Additional Comments From tkoenig at gcc dot gnu dot org  2005-05-02 
11:58 ---
Filling allocated memory with garbage is even more fun,
this causes around 3000 testsuite failures.


-- 


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


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

2005-05-02 Thread tkoenig at gcc dot gnu dot org

--- Additional Comments From tkoenig at gcc dot gnu dot org  2005-05-02 
14:29 ---
Created an attachment (id=8801)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8801&action=view)
Proposed patch


-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |tkoenig at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED


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


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

2005-05-02 Thread tkoenig at gcc dot gnu dot org

--- Additional Comments From tkoenig at gcc dot gnu dot org  2005-05-03 
06:52 ---
Patch here:

http://gcc.gnu.org/ml/fortran/2005-05/msg00016.html

-- 
   What|Removed |Added

   Keywords||patch


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


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

2005-05-12 Thread cvs-commit at gcc dot gnu dot org

--- 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: [EMAIL PROTECTED]   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  <[EMAIL PROTECTED]>

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


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

2005-05-12 Thread cvs-commit at gcc dot gnu dot org

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

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-05-12 19:10:59

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

Log message:
2005-05-12  Thomas Koenig  <[EMAIL PROTECTED]>

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&only_with_tag=gcc-4_0-branch&r1=1.163.2.28&r2=1.163.2.29
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/open.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.10.10.3&r2=1.10.10.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unit.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8&r2=1.8.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/unix.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.21.10.3&r2=1.21.10.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/runtime/memory.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.6&r2=1.6.12.1



-- 


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


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

2005-05-12 Thread tkoenig at gcc dot gnu dot org

--- Additional Comments From tkoenig at gcc dot gnu dot org  2005-05-12 
19:12 ---
Fixed in mainline and 4.0.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


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

2005-06-05 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

   Target Milestone|--- |4.0.1


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