fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / libgloss / testsuite / libgloss.all / double.c
blobe6481916115ea150c18f802283aa56e4ff1d014b
1 /* Oki bug report [OKI001](gcc008_1)
3 The following program is not executed.
4 error messages are as follow.
6 illegal trap: 0x12 pc=d000d954
7 d000d954 08000240 NOP
8 */
10 #include <stdio.h>
11 extern double dcall ();
13 main ()
15 double d1, d2, d3;
16 int i;
18 d1 = dcall (1.);
19 printf ("d1 = %e\n", d1);
21 pass ("double [OKI001]");
22 fflush(stdout);
25 double
26 dcall (d)
27 double d;
29 int Zero = 0;
30 return d + Zero;