Date: Tue, 13 Oct 1998 18:02:02 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: djgpp AT delorie DOT com Subject: Re: Help: -O3 breaks my code In-Reply-To: <361cf8ae.10692665@crispin> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id LAA08575 Reply-To: djgpp AT delorie DOT com On Thu, 8 Oct 1998, Ignacio García Pérez wrote: > I've got a small problem with DJGPP: when I compile my program with > -O2 works perfect, when I compile it with -O3 it blows away. If your program has some assembly code, make sure you save and restore all registers that GCC knows it can clobber freely. See section 17.4 of the DJGPP FAQ list for details.