gcc/testsuite/gcc.c-torture/compile/20121027-1.c
raw| 1 | /* { dg-require-stack-size "1024+16" } */ |
| 2 | /* { dg-additional-options "-fpermissive" } */ |
| 3 | |
| 4 | extern int nc; |
| 5 | void f(void) |
| 6 | { |
| 7 | unsigned char resp[1024]; |
| 8 | int c; |
| 9 | int bl = 0; |
| 10 | unsigned long long *dwords = (unsigned long long *)(resp + 5); |
| 11 | for (c=0; c<nc; c++) |
| 12 | { |
| 13 | ff(dwords[bl/64]); |
| 14 | bl++; |
| 15 | } |
| 16 | } |