Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr34458.c

raw
1 /* Testcase by Martin Michlmayr <[email protected]> */
2 /* { dg-require-stack-size "1025*4" } */
3
4 typedef struct
5 {
6 int data[1024];
7 }
8 Lint;
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 }