Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr51760.c

raw
1 /* { dg-do compile } */
2
3 extern inline __attribute__ ((always_inline)) void *
4 memmove (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
11 foo (void)
12 {
13 char a[64], *b;
14 for (;;)
15 {
16 memmove (a, b, 0);
17 b = a;
18 }
19 }