Improve previous fix.
authorGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 13 Feb 2003 08:10:27 +0000 (08:10 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Thu, 13 Feb 2003 08:10:27 +0000 (08:10 +0000)
From-SVN: r62831

gcc/cp/decl.c

index dadb521..c724c2c 100644 (file)
@@ -5003,7 +5003,7 @@ define_label (const char* filename, int line, tree name)
   if (DECL_INITIAL (decl) != NULL_TREE)
     {
       error ("duplicate label `%D'", decl);
-      POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, NULL);
+      POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, NULL_TREE);
     }
   else
     {