1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-options "-O -mpowerpc-gfxopt -fno-trapping-math" } */
3/* { dg-final { scan-assembler "fsel" } } */
4
5/* If the user doesn't care about signals, fsel can be used in many cases.  */
6
7double foo(double a, double b, double c, double d)
8{
9  return a < b ? c : d;
10}
11