aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20121027-1.c
blob: 7c92f3fa43685ea3f7d1c4172bec5fc5852ffeb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-require-stack-size "1024+16" } */

extern int nc;
void f(void)
{
    unsigned char resp[1024];
    int c;
    int bl = 0;
    unsigned long long *dwords = (unsigned long long *)(resp + 5);
    for (c=0; c<nc; c++)
    {
        ff(dwords[bl/64]);
        bl++;
    }
}