tech-userlevel archive

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

Re: failing to link siglongjmp with clang

On Thu, Apr 26, 2012 at 09:33:09AM -0400, James K. Lowden wrote:
> Funny, just the other night I was re-reading Plauger's C standard
> library book, where he points out setjmp/longjmp often cannot be
> written in C.  It's one of those places where C's idealized machine
> isn't.  

setjmp/longjmp are classic examples of what can't be written in C.
But the bigger problem is that they have implications for an optimising
compiler, since the actual code flow doesn't agree with the flow graph
due to the returns-twice semantic.


Home | Main Index | Thread Index | Old Index