summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr27087.c
blob: 3add13bcbeb36d7e8d761ccb44a41c1ff8891ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
extern int ptbl[4];
extern int ctbl[4];

void doViews(void) {
    int  *c = ctbl, *p = ptbl;
    while (1)
  {
        p++;
        c++;
        if (*p)
        {
            if (c == p)
            {
                if (*c)
                    return;
            }
            else
              return;
        }
    }

    g();
}