diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-14 03:38:24 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-14 03:38:24 +0000 |
commit | c1155f31ee7b94e0de4f92df52af464b284ee00e (patch) | |
tree | a5adf3e81423247e9be985b2ee983de52a064d8d /gcc/timevar.c | |
parent | 95e5c2053e45d6b707479c19acd0d3f8a58c1610 (diff) | |
download | gcc-c1155f31ee7b94e0de4f92df52af464b284ee00e.tar.gz |
* timevar.def: define TV_NAME_LOOKUP.
* timevar.c (timevar_pop): Be verbose when aborting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/timevar.c')
-rw-r--r-- | gcc/timevar.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/timevar.c b/gcc/timevar.c index feee994220b..195040cdd49 100644 --- a/gcc/timevar.c +++ b/gcc/timevar.c @@ -319,7 +319,11 @@ timevar_pop (timevar) return; if (&timevars[timevar] != stack->timevar) - abort (); + { + sorry ("cannot timevar_pop '%s' when top of timevars stack is '%s'", + timevars[timevar].name, stack->timevar->name); + abort (); + } /* What time is it? */ get_time (&now); |