This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: set_fatal_function
- To: zack at wolery dot cumb dot org
- Subject: Re: set_fatal_function
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sun, 6 Aug 00 07:21:42 EDT
- Cc: gcc at gcc dot gnu dot org
Depending what it does, that may or may not be possible. What does
Ada need this hook for?
The Ada front end stores up all error messages that have been issued
and outputs them at the end of the compilation. If there's an internal
error, it writes a "bug box", which among other things, writes out the
list of input files the user needs to submit with the bug report.
This hook lets that "bug box" contain a reasonable message for the cause
of the compiler failure.
<soapbox> If you'd merge GNAT into the gcc repository, this sort of
thing wouldn't happen anymore. </soapbox>
I am working on the technical issues, but there's still a lot that
needs to be done. Then there's still the (unresolved as far as I know)
issue of whether we want to add that much code into the repository.