summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/980821-1.c
blob: 9eb1ac4ca1c82a214f0f833f3df44b33dd4a00d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
typedef int __int32_t;
int __kernel_rem_pio2(int prec)
{
	__int32_t i, jz;
	double fw, fq[20];
	switch(prec) {
	    case 2:
		fw = 0.0;
	    case 3:	 
		for (i=jz;i>0;i--) {
		    fw      = fq[i-1] +fq[i]; 
		    fq[i-1] = fw;
		}
	}
}