2004-01-28 Andrew Pinski <pinskia@physics.uc.edu>
* expr.c (build_field_ref): Move variable
definition up.
From-SVN: r76919
+2004-01-28 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * expr.c (build_field_ref): Move variable
+ definition up.
+
2004-01-28 Andrew Haley <aph@redhat.com>
* expr.c (build_field_ref): Widen field offset.
tree field_offset =
build (ARRAY_REF, integer_type_node, TYPE_OTABLE_DECL (output_class),
otable_index);
+ tree address;
field_offset = fold (convert (sizetype, field_offset));
- tree address
+ address
= fold (build (PLUS_EXPR,
build_pointer_type (TREE_TYPE (field_decl)),
self_value, field_offset));