Fix 35004, grow tree_code bitfield to 16 bits

From-SVN: r131943
This commit is contained in:
Michael Meissner 2008-01-29 17:35:17 +00:00 committed by Michael Meissner
parent ed32d84238
commit bdba22639b
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-01-29 Michael Meissner <michael.meissner@amd.com>
PR 35004
* cp-tree.h (struct full_lang_decl): Make tree_code bitfield 16
bits to allow for expansion of the number of middle end tree
codes.
2008-01-29 Douglas Gregor <doug.gregor@gmail.com>
PR c++/34055

View File

@ -1655,11 +1655,11 @@ struct lang_decl GTY(())
{
/* In an overloaded operator, this is the value of
DECL_OVERLOADED_OPERATOR_P. */
ENUM_BITFIELD (tree_code) operator_code : 8;
ENUM_BITFIELD (tree_code) operator_code : 16;
unsigned u3sel : 1;
unsigned pending_inline_p : 1;
unsigned spare : 22;
unsigned spare : 14;
/* For a non-thunk function decl, this is a tree list of
friendly classes. For a thunk function decl, it is the