aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r--gcc/tree-ssa-structalias.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c
index 90b0200..6f72dd3 100644
--- a/gcc/tree-ssa-structalias.c
+++ b/gcc/tree-ssa-structalias.c
@@ -5915,19 +5915,14 @@ intra_create_variable_infos (struct function *fn)
continue;
}
- if (restrict_pointer_p)
- make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
- else
+ for (; p; p = vi_next (p))
{
- for (; p; p = vi_next (p))
- {
- if (p->only_restrict_pointers)
- make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
- else if (p->may_have_pointers)
- make_constraint_from (p, nonlocal_id);
- if (p->is_full_var)
- break;
- }
+ if (p->only_restrict_pointers)
+ make_constraint_from_global_restrict (p, "PARM_RESTRICT", true);
+ else if (p->may_have_pointers)
+ make_constraint_from (p, nonlocal_id);
+ if (p->is_full_var)
+ break;
}
}