Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr44485.c
blob82f05f8ce6ae38a1cf568d8851770c643db2f934
1 /* PR tree-optimization/44485 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -funsafe-math-optimizations" } */
5 unsigned short b;
6 int bar (unsigned);
8 void
9 baz (void)
11 if (bar (0))
12 for (b = 0; b < 30; b++)
16 int
17 bar (unsigned z)
19 unsigned short c;
20 for (; ; z += 1)
21 l1:
22 if (z)
23 goto l2;
24 l2:
25 for (z = 0; z < 9; z++)
26 if (z)
27 goto l1;
28 for (c = 0; c; c = (__UINTPTR_TYPE__) baz)
30 return 0;