PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr34458.c
blob096cc0c9b89e7d37146dad1e4c75d342aff18126
1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
3 typedef struct
5 int data[1024];
7 Lint;
8 Lint lint_operate (Lint a, long long ammount)
10 int index;
11 Lint ret;
12 for (index = 0; index < 24; index++)
13 ret.data[index] =
14 a.data[index + ammount / 32 + 1] << a.data[index + ammount / 32];
15 return ret;