From: Richard Stallman Date: Thu, 22 Oct 1992 12:04:02 +0000 (+0000) Subject: (copy_node): Copy the excess bytes--don't clear them. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11b459cf9a8c22c43b919c94b72c2f71298b94ec;p=gcc.git (copy_node): Copy the excess bytes--don't clear them. From-SVN: r2551 --- diff --git a/gcc/tree.c b/gcc/tree.c index 142254489a6..98c06bdfab1 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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;