]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/pr44485.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr44485.c
1 /* PR tree-optimization/44485 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -funsafe-math-optimizations" } */
4
5 unsigned short b;
6 int bar (unsigned);
7
8 void
9 baz (void)
10 {
11 if (bar (0))
12 for (b = 0; b < 30; b++)
13 ;
14 }
15
16 int
17 bar (unsigned z)
18 {
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)
29 ;
30 return 0;
31 }