This is the mail archive of the gcc-patches@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]

Re: Patches for the allocators (malloc/debug).


>I don't know what the intention was in making malloc_allocator not throw
>anything but that makes it non-compliant, and also the user is not
>warned about any unsuccessful allocations, So I have added that check.

Yep. Good catch!

>Also, I have added another check in debug_allocator for checking whether
>a NULL pointer was passed.

Sounds good.

I apologize for the delay.

This patch is in, thanks!

-benjamin


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