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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-10-24
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Slightly cleaned up:
```
int f(long l, short *sp) {
  unsigned short us;
  for (; l; l -= 4, sp += 4)
    us += sp[1] + sp[3];
  return us;
}
```

`-O3 -fwrapv` is enough to preproduced the ICE.

I am 99% sure it was introduced by r16-4537-g40d6dbf0f8dd91 .

Reply via email to