* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
authorreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 02:11:35 +0000 (02:11 +0000)
committerreichelt <reichelt@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 22 Dec 2004 02:11:35 +0000 (02:11 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92484 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/name-lookup.c

index b216480..bb5af6d 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-21  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
+
 2004-12-21  Andrew Pinski  <pinskia@physics.uc.edu>
 
        PR c++/18984
index eb60421..c856463 100644 (file)
@@ -4649,7 +4649,7 @@ pushtag (tree name, tree type, int globalize)
          d = maybe_process_template_type_declaration (type,
                                                       globalize, b);
          if (d == error_mark_node)
-           return error_mark_node;
+           POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, error_mark_node);
 
          if (b->kind == sk_class)
            {