aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/pr84878.c
blob: f96d3803d0623ba68da04a16106d91e3ed694132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* PR rtl-optimization/84878 */
/* { dg-do compile { target { powerpc*-*-* } } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-O2 -maltivec -mno-vsx -fmodulo-sched -ftree-vectorize -funroll-loops -fassociative-math -fno-signed-zeros -fno-trapping-math" } */

int ek;
float zu;

int
k5 (int ks)
{
  while (ek < 1)
    {
      ks += (int)(0x1000000 + zu + !ek);
      ++ek;
    }
  return ks;
}