diff options
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 27736c2..9b1151b 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2095,8 +2095,11 @@ toplev::toplev (bool use_TV_TOTAL, bool init_signals) toplev::~toplev () { - timevar_stop (TV_TOTAL); - timevar_print (stderr); + if (g_timer) + { + g_timer->stop (TV_TOTAL); + g_timer->print (stderr); + } } void |