projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7796379
)
vect: remove unused variable in complex numbers detection code.
author
Tamar Christina
<tamar.christina@arm.com>
Wed, 10 Nov 2021 12:01:50 +0000
(12:01 +0000)
committer
Tamar Christina
<tamar.christina@arm.com>
Wed, 10 Nov 2021 12:05:49 +0000
(12:05 +0000)
This removed an unused variable that clang seems to catch when
compiling GCC with Clang.
gcc/ChangeLog:
* tree-vect-slp-patterns.c (complex_mul_pattern::matches): Remove l1node.
gcc/tree-vect-slp-patterns.c
patch
|
blob
|
history
diff --git
a/gcc/tree-vect-slp-patterns.c
b/gcc/tree-vect-slp-patterns.c
index
e08a15e
..
53fbe51
100644
(file)
--- a/
gcc/tree-vect-slp-patterns.c
+++ b/
gcc/tree-vect-slp-patterns.c
@@
-946,7
+946,6
@@
complex_mul_pattern::matches (complex_operation_t op,
auto childs = *ops;
auto l0node = SLP_TREE_CHILDREN (childs[0]);
- auto l1node = SLP_TREE_CHILDREN (childs[1]);
bool mul0 = vect_match_expression_p (l0node[0], MULT_EXPR);
bool mul1 = vect_match_expression_p (l0node[1], MULT_EXPR);