Re: [PATCH 11/17] tree-vect-stmts.cc: Remove an unused shadowed variable

2025-06-25 Thread Richard Biener
> Am 25.06.2025 um 16:26 schrieb Martin Jambor : > > Hi, > > when compiling tree-vect-stmts.cc with clang, it emits a warning: > > gcc/tree-vect-stmts.cc:14930:19: warning: unused variable 'mode_iter' > [-Wunused-variable] > > And indeed, there are two mode_iter local variables in functio

[PATCH 11/17] tree-vect-stmts.cc: Remove an unused shadowed variable

2025-06-25 Thread Martin Jambor
Hi, when compiling tree-vect-stmts.cc with clang, it emits a warning: gcc/tree-vect-stmts.cc:14930:19: warning: unused variable 'mode_iter' [-Wunused-variable] And indeed, there are two mode_iter local variables in function supportable_indirect_convert_operation and the first one is not used