Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!mmdf From: Glen Lalonde Newsgroups: comp.os.minix Subject: c68 bug... Message-ID: <48408@nigel.ee.udel.edu> Date: 21 Mar 91 14:46:33 GMT Sender: mmdf@ee.udel.edu Lines: 16 I was converting all sizeof() to (int)sizeof(), so I could compile with gcc, when I noticed a c68 bug. Try this: main() { int a,b; long buf[32/sizeof(long)]; long buf2[32/((int)sizeof(long))]; a = sizeof(buf); b = sizeof(buf2); printf("a is %d, b is %d\n", a,b); } Gcc and ack give 32,32. c68 gives 32 and 16. This bug caused my machine to crash, also there must be few more bugs in c68 since I get read errors about once every half an hour if I use a c68 compiled kernel.