aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-12-01 13:30:25 +0100
committerMartin Liska <mliska@suse.cz>2021-12-01 13:30:25 +0100
commit4cba2fa027afd5f815bd9bf3965afe1972c7387c (patch)
treeefa05b4ca35e93c65eb1a2585d5ad3dd2dd3db32 /gcc/tree.c
parent789b80d1fbd0b1d516b389bf11b5c70aa4d1088b (diff)
parentd376b73aa12d183e3040456c7641fb74500d0727 (diff)
downloadgcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.zip
gcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.tar.gz
gcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 910fb06..72cceda 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -10306,22 +10306,24 @@ bitmask_inv_cst_vector_p (tree t)
tree ty = unsigned_type_for (TREE_TYPE (cst));
- do {
- if (idx > 0)
- cst = vector_cst_elt (t, idx);
- wide_int icst = wi::to_wide (cst);
- wide_int inv = wi::bit_not (icst);
- icst = wi::add (1, inv);
- if (wi::popcount (icst) != 1)
- return NULL_TREE;
+ do
+ {
+ if (idx > 0)
+ cst = vector_cst_elt (t, idx);
+ wide_int icst = wi::to_wide (cst);
+ wide_int inv = wi::bit_not (icst);
+ icst = wi::add (1, inv);
+ if (wi::popcount (icst) != 1)
+ return NULL_TREE;
- tree newcst = wide_int_to_tree (ty, inv);
+ tree newcst = wide_int_to_tree (ty, inv);
- if (uniform)
- return build_uniform_cst (newtype, newcst);
+ if (uniform)
+ return build_uniform_cst (newtype, newcst);
- builder.quick_push (newcst);
- } while (++idx < nelts);
+ builder.quick_push (newcst);
+ }
+ while (++idx < nelts);
return builder.build ();
}
@@ -11127,7 +11129,6 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data,
case TREE_LIST:
WALK_SUBTREE (TREE_VALUE (*tp));
WALK_SUBTREE_TAIL (TREE_CHAIN (*tp));
- break;
case TREE_VEC:
{
@@ -11206,7 +11207,6 @@ walk_tree_1 (tree *tp, walk_tree_fn func, void *data,
WALK_SUBTREE (OMP_CLAUSE_OPERAND (*tp, i));
WALK_SUBTREE_TAIL (OMP_CLAUSE_CHAIN (*tp));
}
- break;
case TARGET_EXPR:
{