https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #14 from Mathieu Malaterre <malat at debian dot org> ---
I can make the symptom go away with a single function attribute:
```
% diff -u *
--- /tmp/ii/mul_test.cc.ii.bad 2022-08-03 12:29:41.192263306 +0000
+++ /tmp/ii/mul_test.cc.ii.good 2022-08-03 12:29:41.196263281 +0000
@@ -124932,7 +124932,7 @@
}
template <typename T, class D>
__attribute__((noinline)) void
-
+ __attribute__((optimize("no-tree-vectorize")))
operator()(T , D d) {
const size_t N = Lanes(d);
```