Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!philapd!ssp11!willy From: willy@idca.tds.PHILIPS.nl (Willy Konijnenberg) Newsgroups: comp.os.minix Subject: Re: V1.4 #0 (introduction) [stevie] Message-ID: <166@ssp11.idca.tds.philips.nl> Date: 31 Jan 89 14:06:18 GMT References: <3907@ditmela.oz> <821@faui10.informatik.uni-erlangen.de> Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 24 In article <821@faui10.informatik.uni-erlangen.de> rtregn@immd3.informatik.uni-erlangen.de (Robert Regn) writes: >When compiling with the -O flag, cg (1.2) says > Bombed out of codegen >on some files (WHATS THAT ??). I have these files compiled withOUT the -O and >all others WITH -O flag. I found the problems that caused this message. One is struct assignments, the other is complex references, like c->p->s[c->i]. I think this is a pretty nasty bug in the minix c compiler, especially since it doesn't give any decent error messages. (Andy? listening?) I guess the problem is in the optimizer, since Robert says it works without -O. I edited both of these constructs out of the source, and then it compiled fine. I worked with stevie quite a bit, and never had any problems with weird behaviour, except that it will sometimes get stuck when you overflow some or other buffer, that several "nice-to-have" commands are missing and that some commands don't do what they really should. But these are all minor problems that I can live with. When I get my patches cleaned up, I will post a shar of cdiffs. -- Willy Konijnenberg