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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is a testcase where we don't need -fwrapv:
```
signed int b = 9;
int c[23][23];
signed int d[23];
int main() {
  for (int h = 0; h < 23; h += 2) {
    c[h][h] = d[h];
    b= -b;
  }
  __builtin_printf("%u\n", b);
}

```

Reply via email to