Different language frontends and fancy_abort()

Richard Kenner kenner@vlsi1.ultra.nyu.edu
Tue Jan 2 03:19:00 GMT 2001


    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  <kenner@vlsi1.ultra.nyu.edu>

	* 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!


More information about the Gcc mailing list