Commit 8e539071 by Martin v. Löwis Committed by Jeff Law

* search.c (my_tree_cons): The bitfield is at index 2.

From-SVN: r21117
parent b941bcbc
Mon Jul 13 23:25:28 1998 Martin von Lvwis <loewis@informatik.hu-berlin.de>
* search.c (my_tree_cons): The bitfield is at index 2.
Mon Jul 13 17:21:01 1998 Nick Clifton <nickc@cygnus.com>
* lang-options.h: Format changed to work with new --help support
......
......@@ -266,7 +266,7 @@ my_tree_cons (purpose, value, chain)
/* 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;
((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