From mboxrd@z Thu Jan 1 00:00:00 1970 From: kenner@vlsi1.ultra.nyu.edu (Richard Kenner) To: fjh@cs.mu.oz.au Cc: gcc-patches@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: Different language frontends and fancy_abort() Date: Tue, 02 Jan 2001 03:19:00 -0000 Message-id: <10101021120.AA13410@vlsi1.ultra.nyu.edu> X-SW-Source: 2001-01/msg00049.html I suppose you mean set_fatal_function() in diagnostic.c? Yes. 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(). See this change: Sat Dec 16 10:41:11 2000 Richard Kenner * diagnostic.c (finish_abort): Deleted. (fatal): Add code from finish_abort. (error_recursion, fancy_abort): Call fatal, not finish_abort. Are you suggesting that I use the `fatal_function' hook rather than adding a new `lang_handle_ICE' hook? Yes. That's what it's there for!