1 /* Ensure mempcpy is not "optimized" into memcpy followed by addition. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
6 fn (char *x
, char *y
, int z
)
8 return __builtin_mempcpy (x
, y
, z
);
11 /* { dg-final { scan-assembler-not "memcpy" } } */