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]

Re: Fix calls to malloc, realloc in prefix.c


On Mon, Feb 14, 2000 at 10:19:13AM -0300, Horst von Brand wrote:
> My point was exactly that: They use malloc(3) legitimately (AFAIU), but
> don't check the outcome. This should be fixed.

Check the outcome and do what?  This is libgcc we're talking about,
not the compiler proper.  Is an abort so much better than a SEGV? 
Or moving the abort/segv from one spot to another?  Not IMO.


r~

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