(copy_node): Copy the excess bytes--don't clear them.
authorRichard Stallman <rms@gnu.org>
Thu, 22 Oct 1992 12:04:02 +0000 (12:04 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 22 Oct 1992 12:04:02 +0000 (12:04 +0000)
From-SVN: r2551

gcc/tree.c

index 1422544..98c06bd 100644 (file)
@@ -981,7 +981,7 @@ copy_node (node)
     ((int *) t)[i] = ((int *) node)[i];
   /* Clear any extra bytes.  */
   for (i = length / sizeof (int) * sizeof (int); i < length; i++)
-    ((char *) t)[i] = 0;
+    ((char *) t)[i] = ((char *) node)[i];
 
   TREE_CHAIN (t) = 0;