* gcc.c-torture/compile/980821-1.c: New test.
From-SVN: r21899
This commit is contained in:
parent
1847ba9e03
commit
028622945d
@ -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>
|
||||
|
||||
|
15
gcc/testsuite/gcc.c-torture/compile/980821-1.c
Normal file
15
gcc/testsuite/gcc.c-torture/compile/980821-1.c
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user