aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/powerpc/pr52775.c
blob: 4027819ee6329b094a1f9ffb4370cbeff7bf8fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-options "-O1 -mcpu=power4" } */
/* { dg-final { scan-assembler-times "fcfid" 2 } } */

double
int_to_double (int *p)
{
  return (double)*p;
}

double
long_long_to_double (long long *p)
{
  return (double)*p;
}