1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-distribution" } */
3 
4 typedef __PTRDIFF_TYPE__ intptr_t;
5 int wo;
6 
7 void
sy(long int * as)8 sy (long int *as)
9 {
10   for (;;)
11     {
12       *as = wo;
13       while (as < (long int *) (void *) 2)
14         {
15           int *y9;
16 
17           if (wo != 0)
18             *y9 = (int) (intptr_t) &wo;
19           wo /= (wo != 0 && *y9 != 0);
20           ++as;
21         }
22     }
23 }
24