OSDN Git Service

* tree.h (struct tree_type): Don't use descbits in GTY
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2010 15:53:25 +0000 (15:53 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2010 15:53:25 +0000 (15:53 +0000)
annotation.
* gengtype.c (walk_type): Don't recognize descbits option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166365 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 2bbcfd4..c5b406a 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 e0ebef4..7f956cf 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 2392ada..2be2e03 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;