Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / val-prof-6.c
blobc439fcffe171d98ed91d10fffac90046527b7ddc
1 /* { dg-options "-O2 -fdump-tree-optimized" } */
2 char a[1000];
3 char b[1000];
4 int size=1000;
5 __attribute__ ((noinline))
6 t(int size)
8 __builtin_memcpy(a,b,size);
10 int
11 main()
13 int i;
14 for (i=0; i < size; i++)
15 t(i);
16 return 0;
18 /* { dg-final-use { scan-tree-dump "Average value sum:499500" "optimized"} } */
19 /* { dg-final-use { scan-tree-dump "IOR value" "optimized"} } */
20 /* { dg-final-use { cleanup-tree-dump "optimized" } } */