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

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

void
cpy16 (void *x, void *y)
{
  memcpy (x, y, 16);
}

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