1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2 /* { dg-require-stack-size "1025*4" } */
3 
4 typedef struct
5 {
6   int data[1024];
7 }
8 Lint;
lint_operate(Lint a,long long ammount)9 Lint lint_operate (Lint a, long long ammount)
10 {
11   int index;
12   Lint ret;
13   for (index = 0; index < 24; index++)
14     ret.data[index] =
15       a.data[index + ammount / 32 + 1] << a.data[index + ammount / 32];
16   return ret;
17 }
18