aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/decl.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2000-03-04 18:27:48 +0000
committerPer Bothner <per@bothner.com>2000-03-04 18:27:48 +0000
commit29ee9b69dd1f2eedf9377c3eb19212eb42784fa7 (patch)
treea46740d507d34b316debbc7f6da299837108bb68 /gcc/java/decl.c
parent3714ad051d67df618a4ff95605f615ea28cb2d20 (diff)
* decl.c (init_decl_processing): Initialize sizetype properly.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@32328 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r--gcc/java/decl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c
index cae86f0908a..f258ed8dc0c 100644
--- a/gcc/java/decl.c
+++ b/gcc/java/decl.c
@@ -459,7 +459,8 @@ init_decl_processing ()
TREE_TYPE (error_mark_node) = error_mark_node;
/* Create sizetype first - needed for other types. */
- sizetype = make_unsigned_type (POINTER_SIZE);
+ initialize_sizetypes ();
+ set_sizetype (make_unsigned_type (POINTER_SIZE));
size_zero_node = build_int_2 (0, 0);
TREE_TYPE (size_zero_node) = sizetype;
size_one_node = build_int_2 (1, 0);