Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-13b.c
blob7f4722fcc5291c32f2b234e14fae03f9ff9cc11f
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
4 void exit(int);
6 int main(int argc, char **argv)
8 switch (argc)
10 case 1:
11 return 1;
12 case 2:
13 return 2;
14 case 3:
15 exit(1);
16 case 4:
17 exit(2);
18 default:
19 return 5;
22 return 10;
25 /* { dg-final { scan-tree-dump-times "combined heuristics of edge\[^:\]*: 33.30%" 3 "profile_estimate"} } */
26 /* { dg-final { scan-tree-dump-times "combined heuristics of edge\[^:\]*: 0.05%" 2 "profile_estimate"} } */