Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com From: Chris Faylor Date: Sun, 3 Sep 2000 00:51:42 -0400 To: Chris Faylor Subject: Re: sigframe inlining Message-ID: <20000903005142.A15751@cygnus.com> Reply-To: cygwin-developers AT sources DOT redhat DOT com Mail-Followup-To: Chris Faylor References: <1975989842 DOT 20000901235524 AT logos-m DOT ru> <20000901160904 DOT A29015 AT cygnus DOT com> <1137440989 DOT 20000902001935 AT logos-m DOT ru> <20000901163248 DOT A29171 AT cygnus DOT com> <1958635367 DOT 20000902003930 AT logos-m DOT ru> <20000901205807 DOT A32178 AT cygnus DOT com> <20000901211953 DOT A32424 AT cygnus DOT com> <11977784207 DOT 20000902195159 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <11977784207.20000902195159@logos-m.ru>; from deo@logos-m.ru on Sat, Sep 02, 2000 at 07:51:59PM +0400 On Sat, Sep 02, 2000 at 07:51:59PM +0400, Egor Duda wrote: >Hi! > >Saturday, 02 September, 2000 Chris Faylor cgf AT cygnus DOT com wrote: > >>>I've duplicated the problem. A test case is below. >>> >>>I'll look into this. > >CF> I've checked in a fix. > >Thanks! > >today i've got another bug, when i've compiled cygwin without -O2 flag >since gcc stops inining class sigframe member functions, >__builtin_frame_address got wrong stack offset. this leads to >api_fatal in signal handler. how about this patch? > >Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 Yeah, I knew about this problem and have studiously avoided compiling sigframe functions without optimization. I wish there was some way to force inlining no matter what. I guess we'll probably have to go with something like this eventually but I'd like to ruminate on it for a while first. cgf