public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5110] vect: remove unused variable in complex numbers detection code.
@ 2021-11-10 12:06 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2021-11-10 12:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5cfa174e08e4964703387aa7de5ece448cc660b8
commit r12-5110-g5cfa174e08e4964703387aa7de5ece448cc660b8
Author: Tamar Christina <tamar.christina@arm.com>
Date: Wed Nov 10 12:01:50 2021 +0000
vect: remove unused variable in complex numbers detection code.
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.
Diff:
---
gcc/tree-vect-slp-patterns.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/gcc/tree-vect-slp-patterns.c b/gcc/tree-vect-slp-patterns.c
index e08a15ebd92..53fbe5185f5 100644
--- 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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-10 12:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 12:06 [gcc r12-5110] vect: remove unused variable in complex numbers detection code Tamar Christina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).