OSDN Git Service

[gcc]
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / pr52775.c
1 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3 /* { dg-options "-O1 -mcpu=power4" } */
4 /* { dg-final { scan-assembler-times "fcfid" 2 } } */
5
6 double
7 int_to_double (int *p)
8 {
9   return (double)*p;
10 }
11
12 double
13 long_long_to_double (long long *p)
14 {
15   return (double)*p;
16 }