Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!ira.uka.de!fauern!fauern!csbrod From: csbrod@medusa.informatik.uni-erlangen.de (Claus Brod ) Newsgroups: comp.sys.amiga.tech Subject: Re: MANX 5.0 Bugs Keywords: BUGS Message-ID: <2882@medusa.informatik.uni-erlangen.de> Date: 13 Jun 90 10:29:10 GMT References: <9281@hubcap.clemson.edu> <1990Jun13.022216.202@laguna.ccsf.caltech.edu> <9332@hubcap.clemson.edu> <13271@netcom.UUCP> Organization: CSD, University of Erlangen, W-Germany Lines: 30 mcmahan@netcom.UUCP (Dave Mc Mahan) writes: >>prints out the following: >> >>array[0]=2 >>array[1]=2 >>array[2]=2 >>... >>array[18]=2 >>array[19]=1 >Well, I ran your example through the unix compiler, and I get: >array[0]=1 >array[1]=2 >array[2]=3 >... >array[18]=19 >array[19]=20 Looks as if Manx has a somewhat strange concept of optimizing code - try toggling optimizer flags and stuff like this. What happens? ---------------------------------------------------------------------- Claus Brod, Am Felsenkeller 2, Things. Take. Time. D-8772 Marktheidenfeld, West Germany (Piet Hein) csbrod@medusa.informatik.uni-erlangen.de ----------------------------------------------------------------------