diff options
author | Bryce McKinlay <bryce@waitaki.otago.ac.nz> | 2002-04-17 23:13:11 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2002-04-18 00:13:11 +0100 |
commit | b798d8b64db189b0d3481263de714817ede0e4ce (patch) | |
tree | 586cfa68033482cd0f99fe79ca195bd293bb4892 /gcc/java/decl.c | |
parent | b7403f10f2892ac2f2f4f09f9635d41043f728d9 (diff) | |
download | gcc-b798d8b64db189b0d3481263de714817ede0e4ce.tar.gz |
class.c (make_class_data): Set DECL_ALIGN on static class data, for hash synchronization.
* class.c (make_class_data): Set DECL_ALIGN on static class data,
for hash synchronization.
* expr.c (java_expand_expr): Set DECL_ALIGN on static array objects.
* decl.c (java_init_decl_processing): Don't set TYPE_ALIGN for
class_type_node.
From-SVN: r52448
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index c0560c6dbb7..c3dd5ae67d4 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -682,10 +682,6 @@ java_init_decl_processing () FIELD_PRIVATE (t) = 1; push_super_field (class_type_node, object_type_node); - /* Hash synchronization requires at least double-word alignment. */ - if (flag_hash_synchronization && POINTER_SIZE < 64) - TYPE_ALIGN (class_type_node) = 64; - FINISH_RECORD (class_type_node); build_decl (TYPE_DECL, get_identifier ("Class"), class_type_node); |