aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr103793.c
blob: d7ed721c973fc3cc79699b96c9d0b7c2fcaa7514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O3 -fno-guess-branch-probability" } */

extern void bar (void);

void
foo (int x, int w)
{
  for (int y; y < w; y++)
    if (y < x)
      bar ();
}