From 7f7c6d915805fda536209b128adbfebf7d1a8405 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 5 Nov 2010 15:53:25 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/gengtype.c | 2 -- gcc/tree.h | 3 +-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2bbcfd42ad43..c5b406a30d11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-11-05 Ian Lance Taylor + + * 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 * defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG, diff --git a/gcc/gengtype.c b/gcc/gengtype.c index e0ebef4f9f70..7f956cfcca09 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 2392ada98978..2be2e0322e4d 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; -- 2.47.2