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: Catch emit_library_call being called with a NULL parameter


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~

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