1 /* { dg-do compile } */ 2 3 extern inline __attribute__ ((always_inline)) void * memmove(void * dest,const void * src,__SIZE_TYPE__ len)4memmove (void *dest, const void *src, __SIZE_TYPE__ len) 5 { 6 return __builtin___memmove_chk (dest, src, len, 7 __builtin_object_size (dest, 0)); 8 } 9 10 void foo(void)11foo (void) 12 { 13 char a[64], *b; 14 for (;;) 15 { 16 memmove (a, b, 0); 17 b = a; 18 } 19 } 20