This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix setjmp pattern on SPARC64


From: Eric Botcazou <ebotcazou@libertysurf.fr>
Date: Thu, 16 Feb 2006 22:43:11 +0100

> Looks like the pattern has never taken into account the stack bias...
> This makes it possible to build a 64-bit Ada compiler, at last.
> 
> Bootstrapped/regtested on SPARC/Solaris 10, SPARC64/Solaris 9 and 
> SPARC/Solaris 8, applied to mainline.

Does ADA emit the longjmp() using some internal backend pattern too?

I'm just asking because many systems implement sparc64's
setjmp()/longjmp() via a full getcontext()/setcontext() instead of the
traditional JMP_BUF mechanism.

Either way, good catch :-)


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