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]

[RFA] diagnostic.c: Emphasise preprocessed source for bug reports


We get a large number of bug reports without preprocessed source.
There is little point asking people, via "feedback", for preprocessed
source more than 24 hours after the event -- I don't think anyone has
ever responded (quite reasonably IMO - they've long since moved on) to
such a request.  This renders many reports useless, that might
otherwise be useful.

So, I'd like to emphasise this more in the diagnostics.  I've checked
diagnostic.c compiles.  OK to commit this?

Neil.

	* diagnostic.c (fatal): Request preprocessed source.

Index: diagnostic.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/diagnostic.c,v
retrieving revision 1.47
diff -u -p -r1.47 diagnostic.c
--- diagnostic.c	2000/12/16 16:23:46	1.47
+++ diagnostic.c	2001/01/24 21:36:49
@@ -1432,9 +1432,8 @@ fatal VPARAMS ((const char *msgid, ...))
   report_diagnostic (&dc);
   va_end (ap);
 
-  fprintf
-    (stderr, "Please submit a full bug report.\n See %s for instructions.\n",
-     GCCBUGURL);
+  fprintf (stderr, "Please submit a full bug report, with preprocessed source\n");
+  fprintf (stderr, "if appropriate.  See %s for instructions.\n", GCCBUGURL);
   exit (FATAL_EXIT_CODE);
 }
 

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