Newsgroups: comp.os.msdos.djgpp Subject: Re: Optimized binary crashes From: Sami References: <3BB3640E DOT 8B31A32E AT yahoo DOT com> Message-ID: User-Agent: Xnews/4.06.22 Lines: 11 Date: Thu, 27 Sep 2001 18:51:12 GMT NNTP-Posting-Host: 194.251.251.83 X-Trace: read2.inet.fi 1001616672 194.251.251.83 (Thu, 27 Sep 2001 21:51:12 EET DST) NNTP-Posting-Date: Thu, 27 Sep 2001 21:51:12 EET DST Organization: Sonera corp Internet services To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com CBFalconer wrote in news:3BB3640E DOT 8B31A32E AT yahoo DOT com: >> When using (gcc version 2.95.3) "-fomit-frame-pointer" with >> optimizations (-Ox) "throw" always crashes (for example when >> allocating memory). Have I misconfigured or misunderstood something or >> why is this happening? > I am not surprised. How is the run-time supposed to untangle the > calls without frame pointers? Do you have any tips this issue? I use the 'throw' only in constructors and I have to use -fomit-frame-pointer for the speed.