Pass name cleanups
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / val-prof-7.c
blob5f5326384458042b8a6f47185d0ec1dc1aa560d3
1 /* { dg-options "-O2 -fdump-ipa-profile -mtune=core2" } */
2 /* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
4 #include <strings.h>
6 int foo(int len)
8 char array[1000];
9 bzero(array, len);
10 return 0;
13 int main() {
14 int i;
15 for (i = 0; i < 1000; i++)
17 if (i > 990)
18 foo(16);
19 else
20 foo(8);
22 return 0;
25 /* { dg-final-use { scan-ipa-dump "Single value 8 stringop transformation on bzero" "profile" } } */
26 /* { dg-final-use { cleanup-ipa-dump "profile" } } */