* gcc.c-torture/compile/980821-1.c: New test.

From-SVN: r21899
This commit is contained in:
Jeffrey A Law 1998-08-21 23:00:36 +00:00 committed by Jeff Law
parent 1847ba9e03
commit 028622945d
2 changed files with 20 additions and 1 deletions

View File

@ -1,6 +1,10 @@
Fri Aug 21 23:59:18 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/compile/980821-1.c: New test.
Fri Aug 21 03:14:04 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/980526-2.c: Disable for targets with 16bit ints.
* gcc.c-torture/execute/980526-2.c: Disable for targets with 16bit ints.
1998-08-19 Mark Mitchell <mark@markmitchell.com>

View File

@ -0,0 +1,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;
}
}
}