* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / string-opt-1.c
blobbc0f30098fa1fc4225d0bb3230f5e59f7a8fa738
1 /* Ensure mempcpy is not "optimized" into memcpy followed by addition. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 void *
6 fn (char *x, char *y, int z)
8 return __builtin_mempcpy (x, y, z);
11 /* { dg-final { scan-assembler-not "memcpy" } } */