1 /* PR rtl-optimization/84878 */
2 /* { dg-do compile { target { powerpc*-*-* } } } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
4 /* { dg-options "-O2 -maltivec -mno-vsx -fmodulo-sched -ftree-vectorize -funroll-loops -fassociative-math -fno-signed-zeros -fno-trapping-math" } */
5 
6 int ek;
7 float zu;
8 
9 int
k5(int ks)10 k5 (int ks)
11 {
12   while (ek < 1)
13     {
14       ks += (int)(0x1000000 + zu + !ek);
15       ++ek;
16     }
17   return ks;
18 }
19