OSDN Git Service

* gcc.c-torture/compile/pr11832.c: XFAIL for mips and powerpc-linux,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr34458.c
1 /* Testcase by Martin Michlmayr <tbm@cyrius.com> */
2
3 typedef struct
4 {
5   int data[1024];
6 }
7 Lint;
8 Lint lint_operate (Lint a, long long ammount)
9 {
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;
16 }