Unreviewed patch - simple one liner

Daniel Berlin dberlin@dberlin.org
Wed Jan 28 04:07:00 GMT 2004


On Jan 27, 2004, at 10:56 PM, Phil Edwards wrote:

> On Tue, Jan 27, 2004 at 10:21:15PM -0500, Daniel Berlin wrote:
>> [PATCH]: Make -ftime-report print something about checking
>> http://gcc.gnu.org/ml/gcc-patches/2004-01/msg02228.html
>
> Two spaces after a full stop, I thought?
Did I miss a single space?
Okay, how bout:

2004-01-21 Daniel Berlin (dberlin@dberlin.org)

* timevar.c (timevar_print): Print something about checking if it is on.


Index: timevar.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/timevar.c,v
retrieving revision 1.20.2.10
diff -u -3 -p -r1.20.2.10 timevar.c
--- timevar.c   23 Jul 2003 16:59:58 -0000      1.20.2.10
+++ timevar.c   21 Jan 2004 22:36:46 -0000
@@ -500,6 +500,9 @@ timevar_print (FILE *fp)

#endif /* defined (HAVE_USER_TIME) || defined (HAVE_SYS_TIME)
|| defined (HAVE_WALL_TIME) */
+#ifdef ENABLE_CHECKING
+ fprintf (fp, "Extra diagnostic checks enabled; compiler may run 
slowly.  Configure with --disable-checking to disable checks.\n");
+#endif
}

/* Prints a message to stderr stating that time elapsed in STR is
>
>



More information about the Gcc-patches mailing list