[gfortran] Add malloc and free intrinsics
Steve Kargl
sgk@troutmask.apl.washington.edu
Sat Oct 29 21:19:00 GMT 2005
On Sat, Oct 29, 2005 at 09:59:46PM +0200, Steven Bosscher wrote:
> On Saturday 29 October 2005 21:35, Steve Kargl wrote:
> > What is the expected behavior for negative
> > values? What happens if malloc(*size) fails and returns
> > NULL?
>
> We chatted a bit on IRC a bit and found out that what we probably
> want, is for MALLOC to silently return 0 in all error conditions
> (negative values, OOM, etc.). No errors or warnings, just return 0.
>
Agreed.
--
Steve
More information about the Fortran
mailing list