aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr72771.c
blob: 1cc13e3d4628a4056c7d5c18f0d730713b2bde48 (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
26
27
28
29
void fn2(void);
void fn3(unsigned long);

signed char a;
int b, c, e, f;
float *d;

void fn1(void) {
        unsigned short g = 0;
lbl_986:
        for (;;) {
                c = 0;
                for (; c <= 2;) {
                        *d = g;
                        fn2();
                        if (e)
                                goto lbl_986;
                }
                g = 2;
                for (; (short) g >= 0; g--) {
                        for (; b;) {
                                fn3(45360);
                                f = 0;
                                for (; a >= 0; a--)
                                        ;
                        }
                }
        }
}