aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20120830-1.c
blob: e0453ca6c5281050f51d8809476f084abb752e1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
int keyring_search(void);
int keydb_search2 (int *hdfound, int *hdcurrent, int *a)
{
    int rc = -1;
    while (rc == -1) {
        if (*a == 1)
            rc = keyring_search ();
        if (rc == -1)
            *hdcurrent++;
	if (!rc)
            *hdfound = *hdcurrent;
    }
    return rc;
}