Commit 5e383359 by Andrew Pinski Committed by Andrew Pinski

20120927-1.c: New testcase.

2014-11-23  Andrew Pinski  <apinski@cavium.com>

        * gcc.c-torture/compile/20120927-1.c: New testcase.
        * gcc.c-torture/compile/20120830-1.c: New testcase.

From-SVN: r217982
parent 6a93d42a
2014-11-23 Andrew Pinski <apinski@cavium.com>
* gcc.c-torture/compile/20120927-1.c: New testcase.
* gcc.c-torture/compile/20120830-1.c: New testcase.
2014-11-22 Andrew Pinski <apinski@cavium.com>
* g++.dg/cpp0x/initlist-lifetime1.C: Fix testcase where
......
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;
}
void ff(int);
int isc_fsaccess_set(unsigned int access) {
unsigned int mode;
unsigned int bits;
mode = 0;
bits = 0x00000021;
if ((access & bits) != 0)
{
mode |= 0400;
access &= ~bits;
}
access &= ~bits;
bits <<= (10);
if ((access & bits) != 0)
access &= ~bits;
bits = 0x00000012;
if ((access & bits) != 0)
{
mode |= 0200;
access &= ~bits;
}
mode |= (0200 >> 3);
access &= ~bits;
bits <<= (10);
if ((access & bits) != 0)
mode |= ((0200 >> 3) >> 3);
bits = 0x00000044;
if ((access & bits) != 0)
{
mode |= 0100;
access &= ~bits;
}
if ((access & bits) != 0)
{
mode |= (0100 >> 3);
access &= ~bits;
};
bits <<= (10);
if ((access & bits) != 0)
mode |= ((0100 >> 3) >> 3);
ff(mode) ;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment