Commit 8a105328 by Daniel Berlin Committed by Daniel Berlin

tree-ssa-alias.c (maybe_create_global_var): Change subvar walking to an…

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
parent f6f08360
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
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment