1/* { dg-do compile { target powerpc*-*-* } } */
2/* { dg-options "-mpowerpc-gfxopt" } */
3/* { dg-final { scan-assembler "stfiwx" } } */
4
5int foo (double x)
6{
7  return x;
8}
9