aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr100781.c
blob: 96f0a7a6012c9c2b707ac2186010aa9737c813a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* { dg-do compile } */
/* { dg-options "-O2 -fcompare-debug  " } */

struct a {
  int b;
};
long c(short d, long e, struct a f) {
g:;
  int h = f.b <= e, i = d, n = h >= d;
  if (!n)
    goto j;
  goto k;
j:;
  long l = 5;
  if (l)
    goto m;
  d = 0;
m:
  if (d)
    return f.b;
k:
  goto g;
}
int main() { }