This is the mail archive of the gcc@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: Different language frontends and fancy_abort()


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.

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