summaryrefslogtreecommitdiff
path: root/gcc/tree-browser.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-12-09 10:54:50 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-12-09 10:54:50 +0000
commit08f2586c92554b92c43ae5becc531807c927f75b (patch)
tree0ebc77b705976f6aa26d0801d2f77bd111850b5f /gcc/tree-browser.c
parent61fcaeec1e95fdaf23a7c41222f895dafe84af7f (diff)
downloadgcc-08f2586c92554b92c43ae5becc531807c927f75b.tar.gz
tree.def (SET_TYPE): Remove.
* tree.def (SET_TYPE): Remove. (CONSTRUCTOR): Update description. * builtins.c (type_to_class) Remove SET_TYPE case. * dbxout.c (dbxout_type): Likewise. * dwarf2out.c (is_base_type): Likewise. (gen_set_type_die): Remove. (gen_type_die): Remove SET_TYPE case. * expr.c (count_type_elements): Likewise. (mostly_zeroes_p): Likewise. (store_constructor): Likewise. * print_tree.c (print_node): Likewise. * stor-layout.c (layout_type): Likewise. * tree-browser.c (browse_tree): Likewise. * tree-inline.c (remap_type): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. * tree.c (type_contains_plaeholder_1, type_hash_eq, variably_modified_type_p, initializer_zerop): Likewise. * tree.h (SET_OR_ARRAY_CHECK): Remove. (AGGREGATE_TYPE_P): Remove SET_TYPE check. (TYPE_DOMAIN): Use ARRAY_TYPE_CHECK. * typeclass.h (enum type_class): Remove set_type_class. * varasm.c (const_hash_1): Remove SET_TYPE case. (compare_constant, copy_constant, output_constant): Likewise. * config/i386/i386.c (classify_argument): Likewise. * config/ia64/ia64.c (hfa_element_mode): Likewise. * config/sparc/sparc.c (sparc_type_code): Likewise. * ada/decl.c (gnat_substitute_in_type): Remove SET_TYPE case. From-SVN: r91931
Diffstat (limited to 'gcc/tree-browser.c')
-rw-r--r--gcc/tree-browser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/tree-browser.c b/gcc/tree-browser.c
index 1ac5dda331d..ccbccde2696 100644
--- a/gcc/tree-browser.c
+++ b/gcc/tree-browser.c
@@ -309,8 +309,7 @@ browse_tree (tree begin)
break;
case TB_DOMAIN:
- if (head && (TREE_CODE (head) == ARRAY_TYPE
- || TREE_CODE (head) == SET_TYPE))
+ if (head && TREE_CODE (head) == ARRAY_TYPE)
TB_SET_HEAD (TYPE_DOMAIN (head));
else
TB_WF;