summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-05 15:53:25 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2010-11-05 15:53:25 +0000
commit1b91bf884f99270105b10d5562916ca60cd4b74e (patch)
treee86244a203644f7daa1899e89195e51bb09a5f49
parentdb5b2472c14114946acf355de056b70396bff658 (diff)
downloadppe42-gcc-1b91bf884f99270105b10d5562916ca60cd4b74e.tar.gz
ppe42-gcc-1b91bf884f99270105b10d5562916ca60cd4b74e.zip
* tree.h (struct tree_type): Don't use descbits in GTY
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
-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 2bbcfd42ad4..c5b406a30d1 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 e0ebef4f9f7..7f956cfcca0 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 2392ada9897..2be2e0322e4 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;
OpenPOWER on IntegriCloud