summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/predict-15.c
blob: 2a8c3ea85971ffcfb11796775c695b94271685c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-profile_estimate" } */

int main(int argc, char **argv)
{
  if (argc == 123)
    goto exit;
  else
    {
      return 0;
    }

exit:
  return 1;
}

/* { dg-final { scan-tree-dump "goto heuristics of edge" "profile_estimate"} } */