This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Bootstrapping mainline GNAT fails
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Robert Dewar <dewar at gnat dot com>
- Cc: gcc at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu
- Date: Mon, 18 Mar 2002 20:43:51 -0800
- Subject: Re: [Ada] Bootstrapping mainline GNAT fails
- References: <20020319041052.A7AB0F28CF@nile.gnat.com>
On Mon, Mar 18, 2002 at 11:10:52PM -0500, Robert Dewar wrote:
> <<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.
Okay, in that case my idea doesn't help any.
zw