summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr30961-1.c
blob: c2259433554d172a769de0570966209ed9e0dee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2" } */

double
convert (long long in)
{
  double f;
  __builtin_memcpy( &f, &in, sizeof( in ) );
  return f;
}

/* { dg-final { scan-assembler-not "movapd" } } */