predict.c: merge multi-edges
[official-gcc.git] / gcc / testsuite / gcc.dg / predict-14.c
blobe24166714ce011bae4fb66d43492a7a979dc451f
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_unreachable();
10 case 4:
11 __builtin_unreachable();
12 default:
13 __builtin_unreachable();
16 return 10;
19 /* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */