tree-optimization/116460 - ICE with DCE in forwprop
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr93073.c
blob37e9be12f4d3a7cca71d1bbc84a5a653af782871
1 /* PR target/93073 */
2 /* { dg-do compile } */
3 /* { dg-options "-mvsx -O1 -ffinite-math-only -fno-trapping-math" } */
4 /* { dg-require-effective-target powerpc_vsx } */
6 void bar (void);
8 void
9 foo (long double x, double y, double z)
11 for (;;)
13 double a = x > 0.0 ? y : z;
14 if (a == 0.0)
15 bar ();