]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix 35004, grow tree_code bitfield to 16 bits
authorMichael Meissner <michael.meissner@amd.com>
Tue, 29 Jan 2008 17:35:17 +0000 (17:35 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Tue, 29 Jan 2008 17:35:17 +0000 (17:35 +0000)
From-SVN: r131943

gcc/cp/ChangeLog
gcc/cp/cp-tree.h

index ea850a5a8dc4e4d2d5d8794036be0e391f095ceb..a5d19e6bc69577b09de9cf1ca868bd2f046122c5 100644 (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
index 5f43c13d3d8ddfbfbe97dda330062414563c5e62..e6aba2fe2c4f3351e275d24f9ace3d999830f229 100644 (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