shebs 02/08/14 18:51:19
Modified: gcc tree.c
Log:
type_for_mode is now a langhook...
Revision Changes Path
1.45 +3 -3 gcc3/gcc/tree.c
Index: tree.c
===================================================================
RCS file: /cvs/Darwin/gcc3/gcc/tree.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- tree.c 2002/08/14 21:44:08 1.44
+++ tree.c 2002/08/15 01:51:19 1.45
@@ -4678,9 +4678,9 @@
/* Use unsigned_char_type rather than int_QI_type, etc.
so debug info is common with nonvector unsigned char */
tree array = build_array_type (
- type_for_mode (TYPE_MODE (TREE_TYPE (t)),
- TREE_UNSIGNED (TREE_TYPE (t))),
- build_index_type (index));
+ (*lang_hooks.types.type_for_mode) (TYPE_MODE (TREE_TYPE (t)),
+ TREE_UNSIGNED (TREE_TYPE (t))),
+ build_index_type (index));
tree rt = make_node (RECORD_TYPE);
TYPE_FIELDS (rt) = build_decl (FIELD_DECL, get_identifier ("f"), array);