This is the mail archive of the cygwin-developers@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sigframe inlining


On Sun, Sep 03, 2000 at 12:51:42AM -0400, Chris Faylor wrote:
>On Sat, Sep 02, 2000 at 07:51:59PM +0400, Egor Duda wrote:
>>Hi!
>>
>>Saturday, 02 September, 2000 Chris Faylor cgf@cygnus.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@logos-m.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.

I've checked in a patch that, I think, accomplishes the same thing
without the use of additional macros.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]