Fix ICE in substring-handling building 502.gcc_r (PR 87562)
[official-gcc.git] / gcc / testsuite / gcc.dg / pr48975.c
blob58658d8714927b750fe38e6ce3bbab1c77525503
1 /* PR tree-optimization/48975 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -ffast-math -fno-tree-slp-vectorize" } */
5 static int
6 foo (int x)
8 return (x > 0) ? 0 : x + 1;
11 void
12 bar (unsigned int x)
14 int l = 1;
15 lab:
16 while (x)
17 x = foo (x);