gcc/testsuite/gcc.target/s390/pr96456.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O3 -std=gnu99 -ffast-math -fno-finite-math-only -march=z13" } */ |
| 3 | |
| 4 | int b, c, d; |
| 5 | double *e; |
| 6 | int f() { |
| 7 | double *a = a; |
| 8 | int g = d, f = c, h = b; |
| 9 | if (__builtin_expect(f, 0)) |
| 10 | for (; g < h; g++) |
| 11 | e[g] = (int)(a[g] >= 0.0 ? g + 0.99999999 : a[g]); |
| 12 | return 0; |
| 13 | } |