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 | |
parent | 95e5c2053e45d6b707479c19acd0d3f8a58c1610 (diff) | |
download | ppe42-gcc-c1155f31ee7b94e0de4f92df52af464b284ee00e.tar.gz ppe42-gcc-c1155f31ee7b94e0de4f92df52af464b284ee00e.zip |
* 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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/timevar.c | 6 | ||||
-rw-r--r-- | gcc/timevar.def | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d720771ec2c..83bdae65730 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * timevar.def: define TV_NAME_LOOKUP. + * timevar.c (timevar_pop): Be verbose when aborting. + 2003-01-13 Andreas Schwab <schwab@suse.de> * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to 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); diff --git a/gcc/timevar.def b/gcc/timevar.def index 49eeedbf0a7..4d1eba8465e 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -51,6 +51,7 @@ DEFTIMEVAR (TV_LIFE_UPDATE , "life info update") DEFTIMEVAR (TV_CPP , "preprocessing") DEFTIMEVAR (TV_LEX , "lexical analysis") DEFTIMEVAR (TV_PARSE , "parser") +DEFTIMEVAR (TV_NAME_LOOKUP , "name lookup") DEFTIMEVAR (TV_EXPAND , "expand") DEFTIMEVAR (TV_VARCONST , "varconst") DEFTIMEVAR (TV_INTEGRATION , "integration") |