Commit 2c43b71a by Jeffrey A Law Committed by Jeff Law

* search.c (my_tree_cons): Clean up.

From-SVN: r21158
parent 00025aea
Tue Jul 14 20:09:22 1998 Jeffrey A Law (law@cygnus.com)
* search.c (my_tree_cons): Clean up.
1998-07-14 Jason Merrill <jason@yorick.cygnus.com>
* call.c (joust): Don't warn about "confusing" conversions to the
......
......@@ -261,12 +261,8 @@ my_tree_cons (purpose, value, chain)
tree purpose, value, chain;
{
tree p = (tree)obstack_alloc (&type_obstack_entries, sizeof (struct tree_list));
bzero ((char *)p, sizeof (struct tree_list));
++my_tree_node_counter;
TREE_TYPE (p) = NULL_TREE;
/* 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)[2] = 0;
TREE_SET_CODE (p, TREE_LIST);
TREE_PURPOSE (p) = purpose;
TREE_VALUE (p) = value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment