From 11b459cf9a8c22c43b919c94b72c2f71298b94ec Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Thu, 22 Oct 1992 12:04:02 +0000 Subject: [PATCH] (copy_node): Copy the excess bytes--don't clear them. From-SVN: r2551 --- gcc/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2