diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-10-28 21:19:32 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-10-28 21:19:32 +0000 |
commit | 38b882b5421ed6480468e458d24f3cbcfc67f26b (patch) | |
tree | 772fd5f63ac1e8a3268612644fae18e96fe5db9e /gcc/tree-ssa-structalias.c | |
parent | e922069e4f3e5dfadb59f641db6786feff9c6047 (diff) | |
download | gcc-38b882b5421ed6480468e458d24f3cbcfc67f26b.zip gcc-38b882b5421ed6480468e458d24f3cbcfc67f26b.tar.gz gcc-38b882b5421ed6480468e458d24f3cbcfc67f26b.tar.bz2 |
Remove superfluous code in intra_create_variable_infos
2015-10-28 Tom de Vries <tom@codesourcery.com>
* tree-ssa-structalias.c (intra_create_variable_infos): Remove
superfluous code.
From-SVN: r229506
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
-rw-r--r-- | gcc/tree-ssa-structalias.c | 19 |
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; } } |