This is the mail archive of the gcc-patches@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: Error handling change


>>>>> "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

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