projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea7273a
)
(copy_node): Copy the excess bytes--don't clear them.
author
Richard Stallman
<rms@gnu.org>
Thu, 22 Oct 1992 12:04:02 +0000
(12:04 +0000)
committer
Richard Stallman
<rms@gnu.org>
Thu, 22 Oct 1992 12:04:02 +0000
(12:04 +0000)
From-SVN: r2551
gcc/tree.c
patch
|
blob
|
history
diff --git
a/gcc/tree.c
b/gcc/tree.c
index 142254489a681b038e2446b4191137f87921d76b..98c06bdfab12f20d61d01be6d9913a4f9c185071 100644
(file)
--- 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;