aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr105455.c
blob: 81e9154baa1c3970507697913b0109c277d07b41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */
/* { dg-options "-O1 -fharden-conditional-branches -funroll-loops --param max-loop-header-insns=1" } */

__attribute__ ((cold)) void
bar (void);

void
foo (int x)
{
  if (x)
    {
      int i;

      for (i = 0; i < 101; ++i)
        bar ();
    }
}