This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Different language frontends and fancy_abort()
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Different language frontends and fancy_abort()
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Tue, 2 Jan 2001 22:11:24 +1100
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- References: <10101021007.AA12932@vlsi1.ultra.nyu.edu>
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.