]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree.h (struct tree_type): Don't use descbits in GTY annotation.
authorIan Lance Taylor <iant@google.com>
Fri, 5 Nov 2010 15:53:25 +0000 (15:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 5 Nov 2010 15:53:25 +0000 (15:53 +0000)
* tree.h (struct tree_type): Don't use descbits in GTY
annotation.
* gengtype.c (walk_type): Don't recognize descbits option.

From-SVN: r166365

gcc/ChangeLog
gcc/gengtype.c
gcc/tree.h

index 2bbcfd42ad43300157c1d0eefd18dc1cb6608add..c5b406a30d11882d360d5ee9293c3ba9b4f90e4a 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-05  Ian Lance Taylor  <iant@google.com>
+
+       * tree.h (struct tree_type): Don't use descbits in GTY
+       annotation.
+       * gengtype.c (walk_type): Don't recognize descbits option.
+
 2010-11-05  Joseph Myers  <joseph@codesourcery.com>
 
        * defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG,
index e0ebef4f9f707cb5fdaebf5f19674895d7d7fa29..7f956cfcca099ab0534ac5c5b3cebac89e46b94f 100644 (file)
@@ -2164,8 +2164,6 @@ walk_type (type_p t, struct walk_type_data *d)
       ;
     else if (strcmp (oo->name, "default") == 0)
       ;
-    else if (strcmp (oo->name, "descbits") == 0)
-      ;
     else if (strcmp (oo->name, "param_is") == 0)
       ;
     else if (strncmp (oo->name, "param", 5) == 0
index 2392ada989781241527d3b467e3efa7f8ed8f724..2be2e0322e4d354432a4da46792d30663b2f4e37 100644 (file)
@@ -2336,8 +2336,7 @@ struct GTY(()) tree_type {
     int GTY ((tag ("0"))) address;
     const char * GTY ((tag ("1"))) pointer;
     struct die_struct * GTY ((tag ("2"))) die;
-  } GTY ((desc ("debug_hooks == &sdb_debug_hooks ? 1 : debug_hooks == &dwarf2_debug_hooks ? 2 : 0"),
-         descbits ("2"))) symtab;
+  } GTY ((desc ("debug_hooks == &sdb_debug_hooks ? 1 : debug_hooks == &dwarf2_debug_hooks ? 2 : 0"))) symtab;
   tree name;
   tree minval;
   tree maxval;