This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Catch emit_library_call being called with a NULL parameter
- To: Nick Clifton <nickc at cygnus dot com>
- Subject: Re: Catch emit_library_call being called with a NULL parameter
- From: Richard Henderson <rth at cygnus dot com>
- Date: Wed, 8 Mar 2000 18:04:53 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200003090150.RAA28393@elmo.cygnus.com>
On Wed, Mar 08, 2000 at 05:50:31PM -0800, Nick Clifton wrote:
> The patch below is just a tiny fix to make gcc abort
> instead, producing slightly nicer behaviour from the compiler.
I consider them equally nice behaviour. Especially in this
case where the segv comes so close to where the abort would.
What do you see as better from an abort? Would you prefer
that the C front end inherited the C++ front end's trapping
of segv, transmuting it to a printed ICE message?
r~