gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-14.c
blob18ede8f39c057fd7272345369267e1b35f504afd
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */
4 int main(int argc, char **argv)
6 switch (argc)
8 case 1:
9 __builtin_abort();
10 case 4:
11 __builtin_abort();
12 default:
13 __builtin_abort();
16 return 10;
19 /* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */