aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2006-01-26 15:24:51 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2006-01-26 15:24:51 +0000
commit8a1053288e0f6bc23095ae565d1e5d359113a584 (patch)
tree2fbb719a05cd651ceb202bf415fd7fa2ddf67674 /gcc/tree-ssa-alias.c
parentf6f083604b2a742a0b15e01384fa1337ee231400 (diff)
downloadgcc-8a1053288e0f6bc23095ae565d1e5d359113a584.zip
gcc-8a1053288e0f6bc23095ae565d1e5d359113a584.tar.gz
gcc-8a1053288e0f6bc23095ae565d1e5d359113a584.tar.bz2
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
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index a890e11..75a5ae5 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -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);