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 dadb5214b1c1e49d2334212c2716dda40c2269a4..c724c2ce9a9609c81211a50cfa3c0c57333ea237 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
     {