blob: eb1af58aa3102db8734aa5dabffc9baed9c0e7c8 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-O2 -mpowerpc64" }
// xfail: PR middle-end/37272
// { dg-final { scan-assembler-not "stfd" { xfail lp64 } } }
// The register allocator should have allocated the temporary long long value in a floating point register.
double
d2ll2d (double d)
{
return (double)(long long)d;
}