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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-09-20
             Status|UNCONFIRMED                 |NEW
           Keywords|needs-reduction             |

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct nine_context {
  unsigned tex_stage[8][33];
};
struct fvec4 {
  float x[2];
};
void f(struct fvec4 *dst, struct nine_context *context) {
  unsigned s;
  for (s = 0; s < 8; ++s)
    {
      float *rgba = &dst[s].x[0];
      unsigned color = context->tex_stage[s][0];
      rgba[0] = (float)((color >> 16) & 0xFF) / 0xFF;
      rgba[1] = (float)((color >> 8) & 0xFF) / 0xFF;
    }
}
```

Reply via email to