aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20031011-2.c
blob: 02684550959c81055d34bc74bd2c9af926ab597b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR optimization/12260.  */

extern int f(void);
extern int g(int);

static char buf[512];
void h(int l) {
    while (l) {
        char *op = buf;
        if (f() == 0)
            break;
        if (g(op - buf + 1))
            break;
    }
}