tree-ssa-alias.c (maybe_create_global_var): Change subvar walking to an assertion that we don't have subvar'd variables.

2006-01-26  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-alias.c (maybe_create_global_var): Change
	subvar walking to an assertion that we don't have subvar'd variables.

From-SVN: r110257
This commit is contained in:
Daniel Berlin 2006-01-26 15:24:51 +00:00 committed by Daniel Berlin
parent f6f083604b
commit 8a1053288e
2 changed files with 6 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2006-01-26 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (maybe_create_global_var): Change
subvar walking to an assertion that we don't have subvar'd variables.
2006-01-26 Andrew Pinski <pinskia@physics.uc.edu>
PR C/25861

View File

@ -1688,15 +1688,8 @@ maybe_create_global_var (struct alias_info *ai)
call-clobbered variables. */
if (global_var && var != global_var)
{
subvar_t svars;
add_may_alias (var, global_var);
if (var_can_have_subvars (var)
&& (svars = get_subvars_for_var (var)))
{
subvar_t sv;
for (sv = svars; sv; sv = sv->next)
mark_sym_for_renaming (sv->var);
}
gcc_assert (!get_subvars_for_var (var));
}
mark_sym_for_renaming (var);