* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Wed, 22 Dec 2004 02:11:35 +0000 (02:11 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Wed, 22 Dec 2004 02:11:35 +0000 (02:11 +0000)
From-SVN: r92484

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

index b2164809471475ad3ce8c0718a54b00728cd1a46..bb5af6d08c0942c6189da90d23a93f316689fc6a 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 eb60421cfaa63c019ee405983ebfe246e0514755..c856463b29fc43e6f06a00cec4980015c4a6d1d9 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)
            {