1 /* PR tree-optimization/48975 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -ffast-math -fno-tree-slp-vectorize" } */
4 
5 static int
foo(int x)6 foo (int x)
7 {
8   return (x > 0) ? 0 : x + 1;
9 }
10 
11 void
bar(unsigned int x)12 bar (unsigned int x)
13 {
14   int l = 1;
15 lab:
16   while (x)
17     x = foo (x);
18 }
19