aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr52912.c
blob: 3ae57588f26dd9521ab595836b5588effc8b8ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

int a, b, c;
static int
fn1 (p1)
{
lbl_549:
      if (p1)
	        goto lbl_549;
          return 0;
}

void
fn2 ()
{
      b = (c && a) > fn1 (c) >= c;
}