[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PPL-devel] Re: Raising Prolog exceptions from C code (2nd attempt)

From: Fergus Henderson
Subject: Re: [PPL-devel] Re: Raising Prolog exceptions from C code (2nd attempt)
Date: Tue, 11 Jun 2002 21:07:02 +1000
User-agent: Mutt/1.2.5i

On 11-Jun-2002, Fergus Henderson <address@hidden> wrote:
> On 11-Jun-2002, Manuel Carro <address@hidden> wrote:
> >     It is possible that omiting the frame pointer (whose exact effect
> > on the assembler output I really do not know) somehow affects the
> > proper behavior of {long,set}jump.  Note that this behavior is anyway
> > not documented in the GCC manual --- maybe this kind of conduct is
> > part of the lore in the C compiler arena.
> Omitting the frame pointer should not have any effect on the behaviour
> of setjmp() and longjmp().  If it does, then that is a bug in GCC,
> which should be reported.

Sorry, I should have said "a bug in GCC and/or glibc".

Also note that the behaviour of longjmp() and setjmp() is documented in
the C standard, and in the glibc manual -- that's why there's no need
to document it in the GCC manual.

Fergus Henderson <address@hidden>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <>  |     -- the last words of T. S. Garp.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]