https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115363

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://github.com/llvm/llv
                   |                            |m-project/issues/124105

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So this can easily show up in C++ code in lambdas where it is not obvious a
reference even:
```
void foo(int *A, int *B, int *C, int *D, int len) {
  auto func = [&] () {
    for (int i =0; i < len; i++)
      A[i] = B[i] * C[i] + D[i];
  };
  func();
}
```
Compile with `-O3 -fno-inline` Note the no-inline here is important
This shows up in Geekbench 6.1
src/geekbench/ml/backend/cpu/depthwise_convolution_2d.cpp

Reply via email to