tree-optimization/115843 - fix wrong-code with fully-masked loop and peeling
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34458.c
blob77154937a63f8a521299d927ea5a090c48d79ac7
1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2 /* { dg-require-stack-size "1025*4" } */
4 typedef struct
6 int data[1024];
8 Lint;
9 Lint lint_operate (Lint a, long long ammount)
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;