This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Bootstrapping mainline GNAT fails
- From: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, zack at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu
- Date: Mon, 18 Mar 2002 23:10:52 -0500 (EST)
- Subject: Re: [Ada] Bootstrapping mainline GNAT fails
<<If exceptions are used only to signal fatal errors, then you could
avoid ever actually _throwing_ an exception; instead, the runtime
routines that normally cause exceptions to be thrown, would be swapped
out for custom versions that called fatal_error()... sort of like the
abort() macro in the other language front ends.
>>
There are actually almost no fatal errors in GNAT that terminate
compilation. The only common case is where the compiler blows up
somehow after already detecting an error.
Even then we try to avoid such blow ups terminating compilation (that's
what the exception handler in this case is all about).