1 /* Oki bug report, no number. Here's the output the error generates.
2 
3     gcc -c -g -ansi  oki008.c -o oki008.o -msoft-float
4         oki008.c: In function `Proc0':
5         oki008.c:50: internal error--insn does not satisfy its constraints:
6         (insn 37 35 24 (set (mem:DF (post_inc:DF (reg:SI 1 %r1)))
7             (reg:DF 48 %fr12)) 94 {reload_outdf+2} (nil)
8             (nil))
9         gcc: Internal compiler error: program cc1 got fatal signal 6
10  */
11 
12 #include <stdio.h>
13 
14 typedef int     Enumeration;
15 typedef int     OneToFifty;
16 typedef char String30[31];
17 struct  Record
18 {
19         struct Record           *PtrComp;
20         Enumeration             Discr;
21         Enumeration             EnumComp;
22         OneToFifty              IntComp;
23         String30                StringComp;
24 };
25 
26 typedef struct Record   RecordType;
27 typedef RecordType *    RecordPtr;
28 typedef int             boolean;
29 
30 #include <stdio.h>
31 
32 char buf[0x10000];
33 char *pbuf = buf;
34 
_malloc(size)35 char *_malloc(size)
36 {
37         char *p;
38 
39         p = pbuf;
40         pbuf += size;
41         if (pbuf >= &buf[sizeof (buf)]) {
42                 printf("_malloc error\n");
43                 return (0);
44         }
45         return (p);
46 }
47 
main()48 main()
49 {
50         Proc0();
51 	pass ("struct");
52 	fflush (stdout);
53         return (0);
54 }
55 
56 RecordPtr       PtrGlbNext;
57 
Proc0()58 Proc0()
59 {
60         extern char             *_malloc();
61 
62         register unsigned int   i;
63 
64         PtrGlbNext = (RecordPtr) _malloc(sizeof(RecordType));
65 }
66