This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix calls to malloc, realloc in prefix.c
- To: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Subject: Re: Fix calls to malloc, realloc in prefix.c
- From: Richard Henderson <rth at cygnus dot com>
- Date: Tue, 15 Feb 2000 23:23:53 -0800
- Cc: Zack Weinberg <zack at wolery dot cumb dot org>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, NeilB at earthling dot net, gcc-patches at gcc dot gnu dot org
- References: <zack@wolery.cumb.org> <200002141319.e1EDJDU02471@sleipnir.valparaiso.cl>
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~