annotate gcc/testsuite/gcc.c-torture/compile/20090328-1.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 union loc { unsigned reg; signed offset; };
kono
parents:
diff changeset
2 void __frame_state_for (volatile char *state_in, int x)
kono
parents:
diff changeset
3 {
kono
parents:
diff changeset
4 /* We should move all the loads out of this loop. Right now, we only
kono
parents:
diff changeset
5 move one. It takes two insertions because we insert a cast. */
kono
parents:
diff changeset
6 union loc fs;
kono
parents:
diff changeset
7 int reg;
kono
parents:
diff changeset
8 for (;;) {
kono
parents:
diff changeset
9 switch (x) {
kono
parents:
diff changeset
10 case 0:
kono
parents:
diff changeset
11 *state_in = fs.reg;
kono
parents:
diff changeset
12 case 1:
kono
parents:
diff changeset
13 *state_in = fs.offset;
kono
parents:
diff changeset
14 }
kono
parents:
diff changeset
15 }
kono
parents:
diff changeset
16 }
kono
parents:
diff changeset
17