aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r--gcc/java/class.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c
index 57930fde..a270b2a 100644
--- a/gcc/java/class.c
+++ b/gcc/java/class.c
@@ -1519,6 +1519,10 @@ layout_class (this_class)
}
layout_type (this_class);
+
+ /* Convert the size back to an SI integer value */
+ TYPE_SIZE_UNIT (this_class) =
+ fold (convert (int_type_node, TYPE_SIZE_UNIT (this_class)));
}
void