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: Jason Merrill <jason at redhat dot com>
- Date: 30 Jan 2001 14:08:27 +0000
- Cc: gcc-patches at gcc dot gnu dot org
- References: <10101301319.AA27224@vlsi1.ultra.nyu.edu>
>>>>> "Richard" == Richard Kenner <kenner@vlsi1.ultra.nyu.edu> writes:
> This is still problematic; now all fatal errors will request a bug
> report, even if the error is due to a user mistake.
> I didn't change any of that logic, just made sure that the language
> routine can be called in all fatal error cases.
> What precise circumstance are you talking about?
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. For instance,
fatal ("virtual memory exhausted");
should probably not request a bug report.
Jason