1 2 3 4 5 6 7 8 9 10 11 12
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-tailc" } */ void set_integer (void *dest, int value, int length) { int tmp = value; __builtin_memcpy (dest, (void *) &tmp, length); } /* { dg-final { scan-tree-dump-not "tail call" "tailc" } } */ /* { dg-final { cleanup-tree-dump "tailc" } } */