Article View: gnu.gcc.help
Article #52347Re: gnu, malloc, and "zero'd" memory
From: James Buster
Date: Thu, 26 Nov 1992 01:34
Date: Thu, 26 Nov 1992 01:34
9 lines
1011 bytes
1011 bytes
Which version of gcc are you using? I know for sure that g++ 1.42 depends upon its malloc'ed memory being zeroed. I had to modify xmalloc() to memset() the memory to zeroes before letting the compiler use it. I didn't track down exactly where such dependencies were, however. gcc 1.42 (at lease on our platform) doesn't seem to need this, but the fact that g++ needs this casts doubt upon gcc. -- James Buster bitbug@netcom.com
Technical Details
Message-ID:
<1992Nov26.013410.5755@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!bitbugReferences:
<JET.92Nov25105140@boxer.nas.nasa.gov>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,459b3f6402b4c06d X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-11-25 17:55:57 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!csus.edu!netcom.com!bitbug From: bitbug@netcom.com (James Buster) Subject: Re: gnu, malloc, and "zero'd" memory Message-ID: <1992Nov26.013410.5755@netcom.com> Organization: Lynx Real-Time Systems, Inc. References: <JET.92Nov25105140@boxer.nas.nasa.gov> Distribution: gnu Date: Thu, 26 Nov 1992 01:34:10 GMT Lines: 9