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: set_fatal_function


    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.

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