1 // { dg-do compile } 2 // { dg-options "-O0 -fdump-tree-gimple" } 3 4 int main()5 main () 6 { 7 char s[10]; 8 const int t = (__builtin_memcpy (s, "Hello", 6), 777); 9 __builtin_printf ("%d %s\n", t, s); 10 return 0; 11 } 12 13 // { dg-final { scan-tree-dump-times "memcpy" 1 "gimple" } } 14