aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests/gcov-pr114681.c
blob: a8dc666a452d0b2cb213f4553aa48e35bf5ff2d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O -fnon-call-exceptions -fno-exceptions -fcondition-coverage" } */

float f, g;

static void
bar ()
{
  if (g < f)
    for (;;)
      ;
}

void
foo ()
{
  bar ();
}