[Patch SRA] Fix PR66119 by calling get_move_ratio in SRA
[official-gcc.git] / gcc / testsuite / g++.dg / pr55513.C
blob35c728d30a3b5fa7a6201355ad4eacb25e46be02
1 // { dg-do compile }
2 // { dg-options "-O0 -fdump-tree-gimple" }
4 main ()
6   char s[10];
7   const int t = (__builtin_memcpy (s, "Hello", 6), 777);
8   __builtin_printf ("%d %s\n", t, s);
11 // { dg-final { scan-tree-dump-times "memcpy" 1 "gimple" } }