Commit 02862294 by Jeffrey A Law Committed by Jeff Law

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

From-SVN: r21899
parent 1847ba9e
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) 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> 1998-08-19 Mark Mitchell <mark@markmitchell.com>
......
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;
}
}
}
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