aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2004-12-22 02:11:35 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2004-12-22 02:11:35 +0000
commita90f8ad5fb98edb96e3705858854140b647fd0fe (patch)
treef818bfe1acb81d04f5e94cb9b46aead31752a6a3 /gcc
parentdf35e33cd517fc2719142a376aad247b7ec1b80a (diff)
downloadgcc-a90f8ad5fb98edb96e3705858854140b647fd0fe.zip
gcc-a90f8ad5fb98edb96e3705858854140b647fd0fe.tar.gz
gcc-a90f8ad5fb98edb96e3705858854140b647fd0fe.tar.bz2
* name-lookup.c (pushtag): Add missing POP_TIMEVAR_AND_RETURN.
From-SVN: r92484
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/name-lookup.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index b216480..bb5af6d 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index eb60421..c856463 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -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)
{