PR target/81369
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr81369.c
blobb40477b0b41ba041e70329fb94aa28081aace7a1
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-distribution" } */
4 typedef __PTRDIFF_TYPE__ intptr_t;
5 int wo;
7 void
8 sy (long int *as)
10 for (;;)
12 *as = wo;
13 while (as < (long int *) (void *) 2)
15 int *y9;
17 if (wo != 0)
18 *y9 = (int) (intptr_t) &wo;
19 wo /= (wo != 0 && *y9 != 0);
20 ++as;