Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc64-double-1.c
blob6672b10e9ccdc36a9997a3d86bee8963f8e128cc
1 // { dg-do compile }
2 // { dg-options "-O2 -mpowerpc64" }
3 // { dg-final { scan-assembler-not "stfd" } }
5 // The register allocator should have allocated the temporary long long value in a floating point register.
7 double
8 d2ll2d (double d)
10 return (double)(long long)d;