* decl.c (init_decl_processing): Initialize sizetype properly.

From-SVN: r32328
This commit is contained in:
Per Bothner 2000-03-04 10:27:48 -08:00 committed by Per Bothner
parent c649121029
commit 4a7f193558
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-03-03 Per Bothner <per@bothner.com>
* decl.c (init_decl_processing): Initialize sizetype properly.
2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
* decl.c (current_function_decl): Move to toplev.c.

View File

@ -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);