Date: Wed, 27 Mar 1996 16:55:49 +0200 (IST) From: Eli Zaretskii To: "A.Appleyard" Cc: DJGPP AT delorie DOT com Subject: Re: -O3 says that longjmp may clobber variables In-Reply-To: <11D54ED67C1@fs2.mt.umist.ac.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 26 Mar 1996, A.Appleyard wrote: > I have a big djgpp program, that compiled with -Wall with no remarks. I > recently compiled it with -O3 -Wall, and got warnings of this type:- > > main.cc:33: warning: variable `class buffer * C' might be clobbered by > `longjmp' or `vfork' > macros.cc:397: warning: variable `class val *const this' might be clobbered > by `longjmp' or `vfork' The other day I saw an explanation of this in the Gcc docs, in the node (chapter) called `Incompatibilities'. If that's not the chapter you say you've already read, you might look there also.