This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13039] cc1 crashes (when out of memory)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2003 17:52:04 -0000
- Subject: [Bug c/13039] cc1 crashes (when out of memory)
- References: <20031113145215.13039.torsten.rueger@hiit.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-13 17:52 -------
Actaully we do look at the return value for malloc, but the OS does not returns NULL for a "failed"
malloc but returns a memory address (but that is because the OS has lazy allocation of memory).
Sorry but this is not a GCC bug but rather an OS bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13039