1 /* PR rtl-optimization/80500 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -funroll-loops -ftree-loop-if-convert -fvariable-expansion-in-unroller" } */
4
5 signed char v;
6
7 void
foo(int x)8 foo (int x)
9 {
10 while (x != 0)
11 {
12 v = (x >= 0) + 1;
13 ++x;
14 }
15 }
16