gcc/testsuite/gcc.dg/torture/pr117567.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-require-effective-target int32plus } */ |
| 3 | /* { dg-additional-options "-fwrapv" } */ |
| 4 | |
| 5 | extern signed char a[]; |
| 6 | long b; |
| 7 | signed char *c; |
| 8 | short *d; |
| 9 | int main() { |
| 10 | for (int e = -63; e < 9; e += -4294967292) { |
| 11 | int f_init = (b ? (8959267630 + c[e]) % 1365941252 : 0); |
| 12 | for (int f = f_init; f < 9; f += 10) { |
| 13 | int h = d[e + 1]; |
| 14 | a[e] = d[e - 2] ?: h; |
| 15 | } |
| 16 | } |
| 17 | } |