Fix 35004, grow tree_code bitfield to 16 bits
From-SVN: r131943
This commit is contained in:
parent
ed32d84238
commit
bdba22639b
|
@ -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>
|
2008-01-29 Douglas Gregor <doug.gregor@gmail.com>
|
||||||
|
|
||||||
PR c++/34055
|
PR c++/34055
|
||||||
|
|
|
@ -1655,11 +1655,11 @@ struct lang_decl GTY(())
|
||||||
{
|
{
|
||||||
/* In an overloaded operator, this is the value of
|
/* In an overloaded operator, this is the value of
|
||||||
DECL_OVERLOADED_OPERATOR_P. */
|
DECL_OVERLOADED_OPERATOR_P. */
|
||||||
ENUM_BITFIELD (tree_code) operator_code : 8;
|
ENUM_BITFIELD (tree_code) operator_code : 16;
|
||||||
|
|
||||||
unsigned u3sel : 1;
|
unsigned u3sel : 1;
|
||||||
unsigned pending_inline_p : 1;
|
unsigned pending_inline_p : 1;
|
||||||
unsigned spare : 22;
|
unsigned spare : 14;
|
||||||
|
|
||||||
/* For a non-thunk function decl, this is a tree list of
|
/* For a non-thunk function decl, this is a tree list of
|
||||||
friendly classes. For a thunk function decl, it is the
|
friendly classes. For a thunk function decl, it is the
|
||||||
|
|
Loading…
Reference in New Issue