aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2010-11-05 15:53:25 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2010-11-05 15:53:25 +0000
commit7f7c6d915805fda536209b128adbfebf7d1a8405 (patch)
treee86244a203644f7daa1899e89195e51bb09a5f49
parent3e926b4d92f06ace79105bd58b806196f4062f84 (diff)
downloadgcc-7f7c6d915805fda536209b128adbfebf7d1a8405.zip
gcc-7f7c6d915805fda536209b128adbfebf7d1a8405.tar.gz
gcc-7f7c6d915805fda536209b128adbfebf7d1a8405.tar.bz2
tree.h (struct tree_type): Don't use descbits in GTY annotation.
* tree.h (struct tree_type): Don't use descbits in GTY annotation. * gengtype.c (walk_type): Don't recognize descbits option. From-SVN: r166365
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/gengtype.c2
-rw-r--r--gcc/tree.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2bbcfd4..c5b406a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index e0ebef4..7f956cf 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -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
diff --git a/gcc/tree.h b/gcc/tree.h
index 2392ada..2be2e03 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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;