aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050303-1.c
blob: 0261acd2c3052c46fa76cfd8fe8f781f315c2af1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-require-effective-target int32plus } */
/* { dg-require-effective-target size32plus } */
/* { dg-require-stack-size "128*1024" } */

void crc()
{
    int  toread;
    long long nleft;
    unsigned char buf[(128 * 1024)];

    nleft = 0;
    while (toread = (nleft < (2147483647 * 2U + 1U)) ? nleft: (2147483647 * 2U + 1U) )
	;
}