Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!mcnc!rti!xyzzy!dg-rtp.dg.com!biesele From: biesele@dg-rtp.dg.com Newsgroups: comp.os.minix Subject: Bug in Minix C V 1.2 Keywords: Minix C Compiler, Bugs Message-ID: <7667@xyzzy.UUCP> Date: 11 Jul 89 21:04:36 GMT Sender: usenet@xyzzy.UUCP Reply-To: biesele@dg-rtp.dg.com () Organization: Data General Corporation, Research Triangle Park, NC Lines: 18 While compiling a C program recently with the Minix V1.2 Compiler on a 80386 machine the compiler aborted and gave the following message: error: Bombed out of codegen. By selectively commenting out pieces of the program I traced the problem down to the following single statement: sum += 0xFF & *p++ ; where p is a character pointer and sum is a long. I found that I could work around this problem by rewriting the C statement as follows: sum = sum + (0xFF & *p++) ; Question: Is there a later version of the compiler that is more stable or an alternative C compiler that runs under Minix. Rusty Biesele Internet: biesele@dg-rtp.dg.com