1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 void *a;
4 void *b;
5 void
t(unsigned int c)6 t(unsigned int c)
7 {
8   if (c<10)
9     __builtin_memcpy (a,b,c+1);
10 }
11 /* Memcpy should be inlined because block size is known.  */
12 /* { dg-final { scan-assembler-not "(jmp|call)\[\\t \]*memcpy" } } */
13