blob: f9d4dda9cdfcfe770ea62d4f33a126e52c7bb720 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { dg-do compile }
/* { dg-skip-if "" { powerpc*-*-aix* } { "*" } { "" } } */
// { dg-options "-O2 -mpowerpc64" }
// { dg-final { scan-assembler-not "stfd" } }
// 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;
}
|