[Bug c/13039] cc1 crashes (when out of memory)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 13 17:52:00 GMT 2003


------- 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



More information about the Gcc-bugs mailing list