Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / predict-2.C
blob1e0ac1d2c48e3dfe5b9db41f175fc8f3975e0989
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-profile_estimate -std=c++11" } */
4 int a, b, c;
6 void
7 bar()
9   if (a == 123)
10     [[likely]] c = 5;
11   else
12     c = 5;
15 /* { dg-final { scan-tree-dump "first match heuristics: 90.00%" "profile_estimate"} } */
16 /* { dg-final { scan-tree-dump "hot label heuristics of edge .*->.*: 90.00%" "profile_estimate"} } */