This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Error handling change
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Subject: Re: Error handling change
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 30 Jan 2001 15:08:11 +0000
- cc: jason at redhat dot com, gcc-patches at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
> You moved this code:
>
> fprintf (stderr, "Please submit a full bug report, with preprocessed source\n");
> fprintf (stderr, "if appropriate. See %s for instructions.\n", GCCBUGURL);
>
> into fatal(), such that now all calls to fatal() request a bug report,
> whereas previously they would just exit.
>
> I'm pretty sure it was that at one point.
>
> For instance,
>
> fatal ("virtual memory exhausted");
>
> should probably not request a bug report.
>
> No, but I don't see any that shouldn't in the compiler. The only
> occurrences of the above that I can see are in the gen*.c files, which
> link with a different "fatal".
Well the ARM compiler has some, eg:
fatal ("Invalid floating point emulation option: -mfpe-%s",
target_fp_name);