From: Michael Meissner Date: Tue, 29 Jan 2008 17:35:17 +0000 (+0000) Subject: Fix 35004, grow tree_code bitfield to 16 bits X-Git-Tag: releases/gcc-4.3.0~335 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdba22639b5a609adfccc08c74d3c5fb7b87b581;p=thirdparty%2Fgcc.git Fix 35004, grow tree_code bitfield to 16 bits From-SVN: r131943 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ea850a5a8dc4..a5d19e6bc695 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2008-01-29 Michael Meissner + + 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 PR c++/34055 diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 5f43c13d3d8d..e6aba2fe2c4f 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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