johannes 02/11/11 14:38:59
Modified: live/gcc3/gcc Tag: fearless-kitty-branch tree.c
Log:
revert to type_for_mode, which was in fkitty, rather than using the
modernized lang_hook.
Revision Changes Path
No revision
No revision
1.39.4.4 +1 -2 src/live/gcc3/gcc/tree.c
Index: tree.c
===================================================================
RCS file: /cvs/Darwin/src/live/gcc3/gcc/tree.c,v
retrieving revision 1.39.4.3
retrieving revision 1.39.4.4
diff -u -r1.39.4.3 -r1.39.4.4
--- tree.c 2002/11/11 22:15:55 1.39.4.3
+++ tree.c 2002/11/11 22:38:58 1.39.4.4
@@ -4816,8 +4816,7 @@
/* APPLE LOCAL AltiVec */
/* Use unsigned_char_type rather than int_QI_type, etc.
so debug info is common with nonvector unsigned char */
- tree array = build_array_type (
- (*lang_hooks.types.type_for_mode) (TYPE_MODE (TREE_TYPE (t)),
+ tree array = build_array_type (type_for_mode (TYPE_MODE (TREE_TYPE (t)),
TREE_UNSIGNED (TREE_TYPE (t))),
build_index_type (index));
tree rt = make_node (RECORD_TYPE);