tree-ssa-structalias.c (intra_create_variable_infos): Don't recreate nonlocal_all if it already exists.

2006-10-25  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-structalias.c (intra_create_variable_infos):
	  Don't recreate nonlocal_all if it already exists.

From-SVN: r118031
This commit is contained in:
Daniel Berlin 2006-10-25 13:26:55 +00:00 committed by Daniel Berlin
parent bb7f04236c
commit 80ba94327e
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-10-25 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-structalias.c (intra_create_variable_infos):
Don't recreate nonlocal_all if it already exists.
2006-10-25 Richard Guenther <rguenther@suse.de>
PR target/28803

View File

@ -4308,7 +4308,8 @@ intra_create_variable_infos (void)
make_constraint_from_escaped (p);
}
}
nonlocal_all = create_nonlocal_var (void_type_node);
if (!nonlocal_all)
nonlocal_all = create_nonlocal_var (void_type_node);
/* Create variable info for the nonlocal var if it does not
exist. */