Xref: news2.mv.net comp.os.msdos.djgpp:1109 From: chrismac AT midland DOT co DOT nz (Chris McFarlane) Newsgroups: comp.os.msdos.djgpp Subject: Re: Bugs with Version 2 beta 3 Date: Wed, 14 Feb 96 14:22:07 GMT Organization: . Lines: 22 Message-ID: <4fsr6f$900_001@midland.co.nz> References: <311F1F38 DOT 3540 AT aber DOT ac DOT uk> NNTP-Posting-Host: chrismac.midland.co.nz To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article <311F1F38 DOT 3540 AT aber DOT ac DOT uk>, NIGEL HUGHES wrote: [snip] >Now, the problem only occurs currently when I set -m486 and -O3. >However, it did do it on normal compilation and I had to cut out >a function call to get it to work again. So what could be upsetting the >compiler. I can think of two possibles, > > 1) It does not like large functions. Solution, I break it up, > slowing down my main game loop, and still worrying about the > thing falling over. > > 2) The switch statement is too large. Solution a break it up, > making the code (bad because it is already large) look > worse. Nigel, I had problems with v2b2 corrupting memory when large function macros were part of my code. Might be the same for you ? Chris