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()


    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!

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