summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authordberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-26 15:24:51 +0000
committerdberlin <dberlin@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-26 15:24:51 +0000
commit8eb4f41f5d18c9c2598a7d81aaea2f8f9e4f6323 (patch)
tree2fbb719a05cd651ceb202bf415fd7fa2ddf67674 /gcc/tree-ssa-alias.c
parentee7d4d6a9eb3853a384963475e9540d8087ca5cd (diff)
downloadgcc-8eb4f41f5d18c9c2598a7d81aaea2f8f9e4f6323.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110257 138bc75d-0d04-0410-961f-82ee72b054a4
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 a890e11ce75..75a5ae57674 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);