From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro 2.2 beta compile extensions Date: Thu, 13 Feb 1997 20:23:36 +0000 Organization: None Distribution: world Message-ID: <4pfddUAIh3AzEwhe@talula.demon.co.uk> References: <01bc1876$b3253960$ea2649c2 AT default> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Thomas Harte writes: > Is anyone else getting nothing but page faults when the compile with the >-O* flags (ie -O1, -O2 & -O3) ? Or is it just my system. If not, then is This is a semi-known bug: a couple of people have sent me examples which demonstrate similar behaviour (eg. works when compiled as C but not as C++, or optimisation flags break the program). I suspect I'm clobbering some registers or leaking memory somewhere, but don't worry, I'm working on it :-) /* * Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ * Ghoti: 'gh' as in 'enough', 'o' as in 'women', and 'ti' as in 'nation'. */