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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |needs-bisection
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-12-30

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
More reduced testcase and converted into one is C code too:
```
struct PixelWeight {
  int m_SrcStart;
  int m_Weights[16];
};
char h;
void f(struct PixelWeight *pPixelWeights) {
    int dest_g_m;
    long tt;
    for (int j = 0; j < 16; j++) {
      int *p = 0;
      if (j < pPixelWeights->m_SrcStart)
        p = tt ? &pPixelWeights->m_Weights[0] : 0;
      int pWeight = *p;
      dest_g_m += pWeight;
    }
    h = dest_g_m;
}
```

Reply via email to