Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com X-Authentication-Warning: modi.xraylith.wisc.edu: khan owned process doing -bs Date: Tue, 9 Mar 1999 17:21:17 -0600 (CST) From: Mumit Khan To: 028587726-0001 cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: STATUS_ACCESS_VIOLATION in egcs-1.1.1 (cygwin) compiled program In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 9 Mar 1999, Mumit Khan wrote: > On Wed, 10 Mar 1999, 028587726-0001 wrote: > > > The following program crashes with STATUS_ACCESS_VIOLATION when > > returning a class. Its compiled with egcs-2.91.60 in Cygnus b20.1. It > > does not crash in a LINUX System, compiled with the same Version of the > > egcs compiler. > > If I'm a stupid, tell me. > > This is fixed in upcoming egcs-1.1.2. I'll announce the binaries as soon > as EGCS group announces the source release (hopefully early next week). > Ooops. Sorry, but I was thinking about a similar, but unrelated bug! You may be running into a problem with the exception handling that is win32 specific (or rather specific to targets that are using setjmp/ longjmp based exception handling). A workaround is to turn on optimization. I'll take a closer look soon and let you know. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com