Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20060217-1.c

raw
1 /* PR middle-end/26334 */
2
3 struct U
4 {
5 unsigned int u[256];
6 };
7
8 struct S
9 {
10 int u, v, w, x;
11 int s[255];
12 };
13
14 int
15 foo (struct U *x, struct S *y)
16 {
17 register int i;
18 for (i = 0; i < 255; i++)
19 {
20 unsigned int v;
21 __asm__ ("" : "=r" (v) : "0" (x->u[i + 1]) : "cc");
22 y->s[i] = v;
23 }
24 return 0;
25 }