Date: Thu, 22 Aug 1996 07:54:50 +0200 (IST) From: Eli Zaretskii To: Serge Pachkovsky Cc: djgpp AT delorie DOT com Subject: Re: -fomit-frame-pointer dangers: FIRE! In-Reply-To: <4vefgm$304@rzunews.unizh.ch> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 21 Aug 1996, Serge Pachkovsky wrote: > Oh, sure. Quite a lot of, actually ;-) > The problem with -fomit-frame-pointer under DPMI is that it frees up an > extra register (bp) for general use. x86 use SS: as the default selector > when bp is used as an address base register, and if SS: happen to be > unequal to DS:, and your data is in DS:, you lose with segmentation fault. This problem doesn't exist in DJGPP v2. The above describes what happened when you use -fomit-frame-pointer in DJGPP v1.x.