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

#include <string.h>

void *p (void *x, void *y, int z)
{
  memcpy (x, y, z);
  return x;
}

/* { dg-final { scan-assembler-not "%rdi" } } */