This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]