Different language frontends and fancy_abort()

Fergus Henderson fjh@cs.mu.oz.au
Tue Jan 2 03:11:00 GMT 2001


On 07-Feb-2037, Richard Kenner, GNU C Maintainer <kenner@vlsi1.ultra.nyu.edu> wrote:
> We already have a facility for a front-end to produce its own ICE messages.
> Ada has been using it for quite a while.

I suppose you mean set_fatal_function() in diagnostic.c?

That doesn't solve the problem, because (*fatal_function)() is not
called in this case.  (*fatal_function)() is only called from
fatal(), not from abort(), fancy_abort(), or finish_abort().

Are you suggesting that I use the `fatal_function' hook
rather than adding a new `lang_handle_ICE' hook?

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh >  |     -- the last words of T. S. Garp.


More information about the Gcc mailing list