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


>     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);



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