AVR: target/84211 - Add a post reload register optimization pass.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr87197.c
blob4c702242cfaa68a5753fbcaeddb7130aa34598bc
1 /* { dg-do compile } */
3 int a, c, e, f, g;
4 void
5 h (int i)
7 a = i;
9 void
10 j (char *i, long k)
12 while (k--)
13 c = *i++;
15 void
16 l (unsigned char *i, long k)
18 unsigned char *b = i + k;
19 while (i < b)
21 h (*i);
22 i++;
25 void
26 m ()
28 while (e)
30 float d = g;
31 l ((char *) &d, sizeof (g));
32 if (f)
33 j ((char *) &d, sizeof (g));