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