[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr93073.c
blob6a0a4731148d48e78a05f8355d629f7d2a312b08
1 /* PR target/93073 */
2 /* { dg-do compile { target powerpc_vsx_ok } } */
3 /* { dg-options "-mvsx -O1 -ffinite-math-only -fno-trapping-math" } */
5 void bar (void);
7 void
8 foo (long double x, double y, double z)
10 for (;;)
12 double a = x > 0.0 ? y : z;
13 if (a == 0.0)
14 bar ();