gcc/testsuite/gcc.c-torture/compile/20030224-1.c
raw| 1 | /* { dg-additional-options "-std=gnu89" } */ |
| 2 | |
| 3 | void zzz (char *s1, char *s2, int len, int *q) |
| 4 | { |
| 5 | int z = 5; |
| 6 | unsigned int i, b; |
| 7 | struct { char a[z]; } x; |
| 8 | |
| 9 | for (i = 0; i < len; i++) |
| 10 | s1[i] = s2[i]; |
| 11 | |
| 12 | b = z & 0x3; |
| 13 | |
| 14 | len += (b == 0 ? 0 : 1) + z; |
| 15 | |
| 16 | *q = len; |
| 17 | |
| 18 | foo (x, x); |
| 19 | } |