aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/retarg.c
blob: a69b60feaf4ec370f1f1eec9deb2ea36fb968e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile { target { ! ia32 } } } */
/* { 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 "%\[re\]di" } } */