summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/block-move-2.c
blob: ffaf9ef05e8b849062386ee12fe1857608584e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test that we honor -mblock-move-inline-limit.  */
/* { dg-do compile } */
/* { dg-options "-O2 -mblock-move-inline-limit=128" } */

typedef __SIZE_TYPE__ size_t;
extern void *memcpy (void *, const void *, size_t);

void
cpy128 (void *x, void *y)
{
  memcpy (x, y, 128);
}

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