tree-ssa-alias.c (create_global_var): Use void_type_node, not size_type_node.

2004-12-05  Daniel Berlin <dberlin@dberlin.org>

	* tree-ssa-alias.c (create_global_var): Use void_type_node,
	not size_type_node.

From-SVN: r91768
This commit is contained in:
Daniel Berlin 2004-12-06 02:00:47 +00:00 committed by Daniel Berlin
parent caace8f5df
commit b07f8ee279
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-05 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (create_global_var): Use void_type_node,
not size_type_node.
2004-12-05 Kazu Hirata <kazu@cs.umass.edu>
* expr.c (expand_expr_real_1): Abort on COND_EXPR of

View File

@ -2201,7 +2201,7 @@ static void
create_global_var (void)
{
global_var = build_decl (VAR_DECL, get_identifier (".GLOBAL_VAR"),
size_type_node);
void_type_node);
DECL_ARTIFICIAL (global_var) = 1;
TREE_READONLY (global_var) = 0;
DECL_EXTERNAL (global_var) = 1;