aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 5207ba1..a0ff3fe 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -840,11 +840,7 @@ make_node (code)
tree_node_sizes[(int)kind] += length;
#endif
- TREE_TYPE (t) = 0;
- TREE_CHAIN (t) = 0;
- for (i = (length / sizeof (int)) - 1;
- i >= sizeof (struct tree_common) / sizeof (int) - 1;
- i--)
+ for (i = (length / sizeof (int)) - 1; i >= 0; i--)
((int *) t)[i] = 0;
TREE_SET_CODE (t, code);