PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr52870.c
blob38518508bf6674e325e609534aa069c702a4c64a
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -ftree-vectorize" } */
4 long
5 test (int *x)
7 unsigned long sx, xprec;
9 sx = *x >= 0 ? *x : -*x;
11 xprec = sx * 64;
13 if (sx < 16384)
14 foo (sx);
16 return xprec;