2018-04-09 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48442.c
blob88e3497b11de549b98ba2f00bd0d339dab77bd57
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Os -fselective-scheduling2 --param max-sched-extend-regions-iters=100" } */
3 void f (void)
5 unsigned *a2;
6 int vertex2;
7 int c, x2, dx2, dy2, s2;
8 long m, b;
9 do
11 if (dx2)
12 dx2 = dx2 % dy2;
13 s2 = (dx2 / dy2);
15 while (vertex2);
16 for (;;)
18 c = x2;
19 a2 = 0;
20 if (c)
22 m = b << (c);
23 *a2 = (*a2 & ~m);
25 x2 += s2;