From 8ebf91ffefc10880feb8c8e5cddeef7a870696f5 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 17 Aug 2001 01:27:49 +0000 Subject: * final.c (shorten_branches): Clear the end of the label_align array only if we made it larger. Break up messy expressions for clarity. * diagnostic.c (internal_error): Check for error recursion before doing ICE suppression. * timevar.c: Timing variables now count in milliseconds. (init_timevar): Set up ticks_to_msec and clocks_to_msec here. (get_time): Not here. (timevar_print): Don't print any timer whose user, cpu, and wall times are all zero as displayed. * timevar.h: Update comment aboout units. Make timevar counters unsigned. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44948 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/diagnostic.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/diagnostic.c') diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index a23c83658ba..4e5d3a814a6 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -1314,6 +1314,9 @@ internal_error VPARAMS ((const char *msgid, ...)) msgid = va_arg (ap, const char *); #endif + if (diagnostic_lock) + error_recursion (); + if (errorcount > 0 || sorrycount > 0) { fnotice (stderr, "%s:%d: confused by earlier errors, bailing out\n", -- cgit v1.2.1