8
* search.c (my_tree_cons): Don't clear words outside the
newly allocated node.
From-SVN: r19238
tree p = (tree)obstack_alloc (&type_obstack_entries, sizeof (struct tree_list));
++my_tree_node_counter;
TREE_TYPE (p) = NULL_TREE;
- ((HOST_WIDE_INT *)p)[3] = 0;
+ /* The type of the last on the LHS of this statement must be a pointer
+ to the same type as the bitfields in struct tree_common. Otherwise
+ we may write beyond our intended area. */
+ ((unsigned *)p)[3] = 0;
TREE_SET_CODE (p, TREE_LIST);
TREE_PURPOSE (p) = purpose;
TREE_VALUE (p) = value;