Files
mips/_old/src/double.c
T
jens 26291bca3d - initial import
git-svn-id: http://moon:8086/svn/mips@1 a8ebac50-d88d-4704-bea3-6648445a41b3
2014-07-20 15:01:37 +00:00

34 lines
442 B
C

/* Oki bug report [OKI001](gcc008_1)
The following program is not executed.
error messages are as follow.
illegal trap: 0x12 pc=d000d954
d000d954 08000240 NOP
*/
#include <stdio.h>
extern double dcall ();
main ()
{
double d1, d2, d3;
int i;
d1 = dcall (1.);
printf ("d1 = %e\n", d1);
printf ("double [OKI001]");
fflush(stdout);
}
double
dcall (d)
double d;
{
int Zero = 0;
return d + Zero;
}